diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2013-02-24 09:38:31 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-24 21:04:01 +0400 |
commit | 62ed839dba70edfdc20a9aab92edff0451078584 (patch) | |
tree | 929ea8774ba76b15d3111871ec10630f0ce42cd6 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c | |
parent | da8c87241c26aac81a64c7e4d21d438a33018f4e (diff) | |
download | linux-62ed839dba70edfdc20a9aab92edff0451078584.tar.xz |
gianfar: fix compile fail for NET_POLL=y due to struct packing
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 <claudiu.manoil@freescale.com>
Cc: Jianhua Xie <jianhua.xie@freescale.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c')
0 files changed, 0 insertions, 0 deletions