Re: [PATCH] net: nixge: Add __packed attribute to DMA descriptor struct

2018-06-19 Thread David Miller
From: Moritz Fischer Date: Tue, 19 Jun 2018 09:54:53 -0700 > @@ -122,7 +122,7 @@ struct nixge_hw_dma_bd { > u32 sw_id_offset; > u32 reserved5; > u32 reserved6; > -}; > +} __packed; As I understand it, based upon your replies to Florian, this bug doesn't even show up with the cu

Re: [PATCH] net: nixge: Add __packed attribute to DMA descriptor struct

2018-06-19 Thread Florian Fainelli
On 06/19/2018 09:54 AM, Moritz Fischer wrote: > Add __packed attribute to DMA descriptor structure in order to > make sure that the DMA engine's alignemnt requirements are met. > > Fixes commit 492caffa8a1a ("net: ethernet: nixge: Add support for > National Instruments XGE netdev") > Signed-off-b