Re: [PATCH net-next] bnxt_en: Fix compile errors when CONFIG_BNXT_SRIOV is not set.

2015-10-23 Thread David Miller
From: Michael Chan Date: Fri, 23 Oct 2015 15:06:19 -0400 > struct bnxt_pf_info needs to be always defined. Move bnxt_update_vf_mac() > to bnxt_sriov.c and add some missing #ifdef CONFIG_BNXT_SRIOV. > > Reported-by: Jim Hull > Tested-by: Jim Hull > Signed-off-by: Michael Chan Applied, thanks

[PATCH net-next] bnxt_en: Fix compile errors when CONFIG_BNXT_SRIOV is not set.

2015-10-23 Thread Michael Chan
struct bnxt_pf_info needs to be always defined. Move bnxt_update_vf_mac() to bnxt_sriov.c and add some missing #ifdef CONFIG_BNXT_SRIOV. Reported-by: Jim Hull Tested-by: Jim Hull Signed-off-by: Michael Chan --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 32 ++--- dr