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] [thread-next>] [day] [month] [year] [list]
Message-ID: <202102130626.3Wr1lJAi-lkp@intel.com>
Date:   Sat, 13 Feb 2021 07:01:32 +0800
From:   kernel test robot <lkp@...el.com>
To:     Mihai Carabas <mihai.carabas@...cle.com>,
        linux-kernel@...r.kernel.org
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        gregkh@...uxfoundation.org, arnd@...db.de, rdunlap@...radead.org,
        bobo.shaobowang@...wei.com,
        Mihai Carabas <mihai.carabas@...cle.com>
Subject: Re: [PATCH v3 1/3] misc/pvpanic: split-up generic and platform
 dependent code

Hi Mihai,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linux/master]
[also build test WARNING on soc/for-next linus/master v5.11-rc7]
[cannot apply to char-misc/char-misc-testing next-20210211]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Mihai-Carabas/misc-pvpanic-split-up-generic-and-platform-dependent-code/20210213-043307
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 2ab38c17aac10bf55ab3efde4c4db3893d8691d2
config: x86_64-randconfig-r012-20210209 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/e69d90da4864766e3dc173d0940c05c4ec59278b
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Mihai-Carabas/misc-pvpanic-split-up-generic-and-platform-dependent-code/20210213-043307
        git checkout e69d90da4864766e3dc173d0940c05c4ec59278b
        # 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: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

>> drivers/misc/pvpanic/pvpanic.c:47:6: warning: no previous prototype for function 'pvpanic_probe' [-Wmissing-prototypes]
   void pvpanic_probe(void __iomem *pbase)
        ^
   drivers/misc/pvpanic/pvpanic.c:47:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void pvpanic_probe(void __iomem *pbase)
   ^
   static 
>> drivers/misc/pvpanic/pvpanic.c:55:6: warning: no previous prototype for function 'pvpanic_remove' [-Wmissing-prototypes]
   void pvpanic_remove(void)
        ^
   drivers/misc/pvpanic/pvpanic.c:55:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void pvpanic_remove(void)
   ^
   static 
   2 warnings generated.


vim +/pvpanic_probe +47 drivers/misc/pvpanic/pvpanic.c

    46	
  > 47	void pvpanic_probe(void __iomem *pbase)
    48	{
    49		base = pbase;
    50		atomic_notifier_chain_register(&panic_notifier_list,
    51					       &pvpanic_panic_nb);
    52	}
    53	EXPORT_SYMBOL_GPL(pvpanic_probe);
    54	
  > 55	void pvpanic_remove(void)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ