Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1662714

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

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net-next] qed: add qed_int_sb_init() stub function
Date 2017-06-09 22:00 +0200
Message-ID <tQyeB-5Jz-5@gated-at.bofh.it> (permalink)
References <tQpuG-nf-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Arnd Bergmann <arnd@arndb.de>
Date: Fri,  9 Jun 2017 12:37:35 +0200

> 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@arndb.de>

Applied, thank you.

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH net-next] qed: add qed_int_sb_init() stub function Arnd Bergmann <arnd@arndb.de> - 2017-06-09 12:40 +0200
  RE: [PATCH net-next] qed: add qed_int_sb_init() stub function "Mintz, Yuval" <Yuval.Mintz@cavium.com> - 2017-06-09 15:50 +0200
  Re: [PATCH net-next] qed: add qed_int_sb_init() stub function David Miller <davem@davemloft.net> - 2017-06-09 22:00 +0200

csiph-web