lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202005162108.tCWQJ2C9%lkp@intel.com>
Date:   Sat, 16 May 2020 21:30:09 +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, clang-built-linux@...glegroups.com,
        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]
[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: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 13d44b2a0c7ef404b13b16644765977cd5310fe2)
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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:124:2: error: implicit declaration of function 'module_firmware_crashed' [-Werror,-Wimplicit-function-declaration]
module_firmware_crashed();
^
1 error generated.

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" (73419 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ