* [linux-next:master 4975/7405] drivers/net/ethernet/qlogic/qed/qed_dev.c:2410:24: error: implicit declaration of function 'qed_sriov_eqe_event'; did you mean 'qed_common_eqe_event'?
@ 2021-10-11 10:55 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-10-11 10:55 UTC (permalink / raw)
To: Prabhakar Kushwaha
Cc: kbuild-all, Linux Memory Management List, Ariel Elior,
Shai Malin, Omkar Kulkarni
[-- Attachment #1: Type: text/plain, Size: 3752 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: d3134eb5de8546a214c028fb7195e764b89da7d4
commit: fe40a830dcded26f012739fd6dac0da9c805bc38 [4975/7405] qed: Update qed_hsi.h for fw 8.59.1.0
config: s390-randconfig-r044-20211011 (attached as .config)
compiler: s390-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=fe40a830dcded26f012739fd6dac0da9c805bc38
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout fe40a830dcded26f012739fd6dac0da9c805bc38
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Note: the linux-next/master HEAD d3134eb5de8546a214c028fb7195e764b89da7d4 builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
drivers/net/ethernet/qlogic/qed/qed_dev.c: In function 'qed_fw_err_handler':
drivers/net/ethernet/qlogic/qed/qed_dev.c:2390:17: error: implicit declaration of function 'qed_sriov_vfpf_malicious' [-Werror=implicit-function-declaration]
2390 | qed_sriov_vfpf_malicious(p_hwfn, &data->err_data);
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/qlogic/qed/qed_dev.c: In function 'qed_common_eqe_event':
>> drivers/net/ethernet/qlogic/qed/qed_dev.c:2410:24: error: implicit declaration of function 'qed_sriov_eqe_event'; did you mean 'qed_common_eqe_event'? [-Werror=implicit-function-declaration]
2410 | return qed_sriov_eqe_event(p_hwfn, opcode, echo, data,
| ^~~~~~~~~~~~~~~~~~~
| qed_common_eqe_event
cc1: some warnings being treated as errors
vim +2410 drivers/net/ethernet/qlogic/qed/qed_dev.c
2379
2380 static int qed_fw_err_handler(struct qed_hwfn *p_hwfn,
2381 u8 opcode,
2382 u16 echo,
2383 union event_ring_data *data, u8 fw_return_code)
2384 {
2385 if (fw_return_code != COMMON_ERR_CODE_ERROR)
2386 goto eqe_unexpected;
2387
2388 if (data->err_data.recovery_scope == ERR_SCOPE_FUNC &&
2389 le16_to_cpu(data->err_data.entity_id) >= MAX_NUM_PFS) {
> 2390 qed_sriov_vfpf_malicious(p_hwfn, &data->err_data);
2391 return 0;
2392 }
2393
2394 eqe_unexpected:
2395 DP_ERR(p_hwfn,
2396 "Skipping unexpected eqe 0x%02x, FW return code 0x%x, echo 0x%x\n",
2397 opcode, fw_return_code, echo);
2398 return -EINVAL;
2399 }
2400
2401 static int qed_common_eqe_event(struct qed_hwfn *p_hwfn,
2402 u8 opcode,
2403 __le16 echo,
2404 union event_ring_data *data,
2405 u8 fw_return_code)
2406 {
2407 switch (opcode) {
2408 case COMMON_EVENT_VF_PF_CHANNEL:
2409 case COMMON_EVENT_VF_FLR:
> 2410 return qed_sriov_eqe_event(p_hwfn, opcode, echo, data,
2411 fw_return_code);
2412 case COMMON_EVENT_FW_ERROR:
2413 return qed_fw_err_handler(p_hwfn, opcode,
2414 le16_to_cpu(echo), data,
2415 fw_return_code);
2416 default:
2417 DP_INFO(p_hwfn->cdev, "Unknown eqe event 0x%02x, echo 0x%x\n",
2418 opcode, echo);
2419 return -EINVAL;
2420 }
2421 }
2422
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38140 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [linux-next:master 4975/7405] drivers/net/ethernet/qlogic/qed/qed_dev.c:2410:24: error: implicit declaration of function 'qed_sriov_eqe_event'; did you mean 'qed_common_eqe_event'?
@ 2021-10-11 11:12 Prabhakar Kushwaha
0 siblings, 0 replies; 2+ messages in thread
From: Prabhakar Kushwaha @ 2021-10-11 11:12 UTC (permalink / raw)
To: kernel test robot, Linux Memory Management List, kbuild-all
Cc: Ariel Elior, Shai Malin, Omkar Kulkarni
Dear All,
> -----Original Message-----
> From: kernel test robot <lkp@intel.com>
> Sent: Monday, October 11, 2021 4:25 PM
> To: Prabhakar Kushwaha <pkushwaha@marvell.com>
> Cc: kbuild-all@lists.01.org; Linux Memory Management List <linux-
> mm@kvack.org>; Ariel Elior <aelior@marvell.com>; Shai Malin
> <smalin@marvell.com>; Omkar Kulkarni <okulkarni@marvell.com>
> Subject: [linux-next:master 4975/7405]
> drivers/net/ethernet/qlogic/qed/qed_dev.c:2410:24: error: implicit declaration
> of function 'qed_sriov_eqe_event'; did you mean 'qed_common_eqe_event'?
>
> External Email
>
> ----------------------------------------------------------------------
> tree: https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__git.kernel.org_pub_scm_linux_kernel_git_next_linux-
> 2Dnext.git&d=DwIBAg&c=nKjWec2b6R0mOyPaz7xtfQ&r=bAXZ5o4wm8RiJvP6bO
> Gu3OdAN7i4STesZnOL1rzhuLU&m=C2c1dKRXsSm3XtX-
> 9iwKMnHCWKTMO4xquUL3MJNmCPU&s=dOSaqE6I6Z7Tws6sApLB4Xqq83e_-
> qMD4oUlF6l3nr8&e= master
> head: d3134eb5de8546a214c028fb7195e764b89da7d4
> commit: fe40a830dcded26f012739fd6dac0da9c805bc38 [4975/7405] qed:
> Update qed_hsi.h for fw 8.59.1.0
> config: s390-randconfig-r044-20211011 (attached as .config)
> compiler: s390-linux-gcc (GCC) 11.2.0
> reproduce (this is a W=1 build):
> wget https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__raw.githubusercontent.com_intel_lkp-
> 2Dtests_master_sbin_make.cross&d=DwIBAg&c=nKjWec2b6R0mOyPaz7xtfQ&r
> =bAXZ5o4wm8RiJvP6bOGu3OdAN7i4STesZnOL1rzhuLU&m=C2c1dKRXsSm3XtX-
> 9iwKMnHCWKTMO4xquUL3MJNmCPU&s=oIy6m2eqjhARCAKeSyqgsb_2hsUjX_C
> 2t-jjiikZbmg&e= -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__git.kernel.org_pub_scm_linux_kernel_git_next_linux-2Dnext.git_commit_-
> 3Fid-
> 3Dfe40a830dcded26f012739fd6dac0da9c805bc38&d=DwIBAg&c=nKjWec2b6R0
> mOyPaz7xtfQ&r=bAXZ5o4wm8RiJvP6bOGu3OdAN7i4STesZnOL1rzhuLU&m=C2c
> 1dKRXsSm3XtX-
> 9iwKMnHCWKTMO4xquUL3MJNmCPU&s=_Qrz3KsACDvHBSXUbPH4j1FL-
> eFnuRt_yshPe3F2UMk&e=
> git remote add linux-next
> https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__git.kernel.org_pub_scm_linux_kernel_git_next_linux-
> 2Dnext.git&d=DwIBAg&c=nKjWec2b6R0mOyPaz7xtfQ&r=bAXZ5o4wm8RiJvP6bO
> Gu3OdAN7i4STesZnOL1rzhuLU&m=C2c1dKRXsSm3XtX-
> 9iwKMnHCWKTMO4xquUL3MJNmCPU&s=dOSaqE6I6Z7Tws6sApLB4Xqq83e_-
> qMD4oUlF6l3nr8&e=
> git fetch --no-tags linux-next master
> git checkout fe40a830dcded26f012739fd6dac0da9c805bc38
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0
> make.cross ARCH=s390
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> Note: the linux-next/master HEAD
> d3134eb5de8546a214c028fb7195e764b89da7d4 builds fine.
> It may have been fixed somewhere.
>
> All errors (new ones prefixed by >>):
>
> drivers/net/ethernet/qlogic/qed/qed_dev.c: In function 'qed_fw_err_handler':
> drivers/net/ethernet/qlogic/qed/qed_dev.c:2390:17: error: implicit declaration
> of function 'qed_sriov_vfpf_malicious' [-Werror=implicit-function-declaration]
> 2390 | qed_sriov_vfpf_malicious(p_hwfn, &data->err_data);
> | ^~~~~~~~~~~~~~~~~~~~~~~~
> drivers/net/ethernet/qlogic/qed/qed_dev.c: In function
> 'qed_common_eqe_event':
> >> drivers/net/ethernet/qlogic/qed/qed_dev.c:2410:24: error: implicit
> declaration of function 'qed_sriov_eqe_event'; did you mean
> 'qed_common_eqe_event'? [-Werror=implicit-function-declaration]
> 2410 | return qed_sriov_eqe_event(p_hwfn, opcode, echo, data,
> | ^~~~~~~~~~~~~~~~~~~
> | qed_common_eqe_event
> cc1: some warnings being treated as errors
>
>
This issue is already fixed with commit e761523d0b407518d4812ada39957bd11227e95b.
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=e761523d0b40
--pk
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-11 11:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11 10:55 [linux-next:master 4975/7405] drivers/net/ethernet/qlogic/qed/qed_dev.c:2410:24: error: implicit declaration of function 'qed_sriov_eqe_event'; did you mean 'qed_common_eqe_event'? kernel test robot
2021-10-11 11:12 Prabhakar Kushwaha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).