RE: [PATCH net-next] qed: add qed_int_sb_init() stub function

From: Mintz, Yuval
Date: Fri Jun 09 2017 - 09:44:28 EST


> When CONFIG_QED_SRIOV is disabled, we get a build error:
>
> drivers/net/ethernet/qlogic/qed/qed_int.c: In function 'qed_int_sb_init':
> drivers/net/ethernet/qlogic/qed/qed_int.c:1499:4: error: implicit declaration
> of function 'qed_vf_set_sb_info'; did you mean 'qed_mcp_get_resc_info'? [-
> Werror=implicit-function-declaration]
>
> All the other declarations have a 'static inline' stub as an alternative here, so
> this adds one more for qed_int_sb_init.
>
> Fixes: 50a207147fce ("qed: Hold a single array for SBs")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Missed it. Thanks.
Acked-by: Yuval Mintz <Yuval.Mintz@xxxxxxxxxx>