> @@ -158,6 +168,9 @@ typedef __unaligned uint32_t unaligned_uint32_t;
>  typedef __unaligned uint16_t unaligned_uint16_t;
>  #else
> +__rte_may_alias
>  typedef uint64_t unaligned_uint64_t __rte_aligned(1);
> +__rte_may_alias
>  typedef uint32_t unaligned_uint32_t __rte_aligned(1);
> +__rte_may_alias
>  typedef uint16_t unaligned_uint16_t __rte_aligned(1);
>  #endif
> @@ -178,13 +191,4 @@ typedef uint16_t unaligned_uint16_t
> __rte_aligned(1);
>  #endif

I still prefer __rte_may_alias next to __rte_aligned().
Although positioning of attributes is flexible, we should try to maintain some 
consistency.

We can accept patches, even though checkpatch complains.

With __rte_may_alias next to __rte_aligned(), and patch description updated 
accordingly, you may add Reviewed-by: Morten Brørup 
<[email protected]> to v22.

Reply via email to