[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202005162022.ZHTOtYaU%lkp@intel.com>
Date: Sat, 16 May 2020 20:55:43 +0800
From: kbuild test robot <lkp@...el.com>
To: Vasundhara Volam <vasundhara-v.volam@...adcom.com>, jeyu@...nel.org
Cc: kbuild-all@...ts.01.org, davem@...emloft.net,
netdev@...r.kernel.org, michael.chan@...adcom.com,
Vasundhara Volam <vasundhara-v.volam@...adcom.com>,
Luis Chamberlain <mcgrof@...nel.org>
Subject: Re: [PATCH v2] bnxt_en: use new module_firmware_crashed()
Hi Vasundhara,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on sparc-next/master]
[also build test ERROR on linus/master v5.7-rc5 next-20200515]
[cannot apply to ipvs/master]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Vasundhara-Volam/bnxt_en-use-new-module_firmware_crashed/20200516-163022
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next.git master
config: ia64-randconfig-r013-20200515 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@...el.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c: In function 'bnxt_fw_fatal_recover':
>> drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:124:2: error: implicit declaration of function 'module_firmware_crashed' [-Werror=implicit-function-declaration]
124 | module_firmware_crashed();
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/module_firmware_crashed +124 drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c
112
113 static int bnxt_fw_fatal_recover(struct devlink_health_reporter *reporter,
114 void *priv_ctx,
115 struct netlink_ext_ack *extack)
116 {
117 struct bnxt *bp = devlink_health_reporter_priv(reporter);
118 struct bnxt_fw_reporter_ctx *fw_reporter_ctx = priv_ctx;
119 unsigned long event;
120
121 if (!priv_ctx)
122 return -EOPNOTSUPP;
123
> 124 module_firmware_crashed();
125 bp->fw_health->fatal = true;
126 event = fw_reporter_ctx->sp_event;
127 if (event == BNXT_FW_RESET_NOTIFY_SP_EVENT)
128 bnxt_fw_reset(bp);
129 else if (event == BNXT_FW_EXCEPTION_SP_EVENT)
130 bnxt_fw_exception(bp);
131
132 return -EINPROGRESS;
133 }
134
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (35225 bytes)
Powered by blists - more mailing lists