Re: [PATCH net] gianfar: fix compile fail for NET_POLL=y due to struct packing
From: David Miller <davem@davemloft.net>
Date: 2013-02-24 17:13:12
Also in:
netdev
From: David Miller <davem@davemloft.net>
Date: 2013-02-24 17:13:12
Also in:
netdev
From: Paul Gortmaker <redacted> Date: Sun, 24 Feb 2013 10:38:31 -0500
Commit ee873fda3bec7c668407b837fc5519eb961fcd37 ("gianfar: Pack struct
gfar_priv_grp into three cachelines") moved the irq number and names
off into a separate struct and created accessors for them. However
it was never tested with NET_POLL enabled, and so some conversions
that were simply overlooked went undetected until now.
Make the netpoll ones also use the gfar_irq() accessors.
Reported-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Claudiu Manoil <redacted>
Cc: Jianhua Xie <redacted>
Signed-off-by: Paul Gortmaker <redacted>Applied, thanks.