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: <201910141823.bXxWHSkl%lkp@intel.com>
Date:   Mon, 14 Oct 2019 18:21:50 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Jean Delvare <jdelvare@...e.de>
Cc:     kbuild-all@...ts.01.org, Linux I2C <linux-i2c@...r.kernel.org>,
        LKML <linux-kernel@...r.kernel.org>,
        Wolfram Sang <wsa@...-dreams.de>
Subject: Re: [PATCH 3/4] i2c: smbus: Add a way to instantiate SPD EEPROMs
 automatically

Hi Jean,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[cannot apply to v5.4-rc3 next-20191011]
[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/Jean-Delvare/Instantiate-SPD-EEPROMs-at-boot-on-x86/20191014-174252
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 7.4.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
        GCC_VERSION=7.4.0 make.cross ARCH=sparc64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   In file included from drivers/i2c/i2c-core-base.c:24:0:
   include/linux/i2c-smbus.h: In function 'i2c_register_spd':
>> include/linux/i2c-smbus.h:52:9: warning: 'return' with a value, in function returning void
     return 0;
            ^
   include/linux/i2c-smbus.h:50:13: note: declared here
    static void i2c_register_spd(struct i2c_adapter *adap)
                ^~~~~~~~~~~~~~~~
   In file included from drivers/i2c/i2c-core-base.c:24:0:
   At top level:
   include/linux/i2c-smbus.h:50:13: warning: 'i2c_register_spd' defined but not used [-Wunused-function]

vim +/return +52 include/linux/i2c-smbus.h

    46	
    47	#if IS_ENABLED(CONFIG_I2C_SMBUS) && IS_ENABLED(CONFIG_DMI)
    48	void i2c_register_spd(struct i2c_adapter *adap);
    49	#else
    50	static void i2c_register_spd(struct i2c_adapter *adap)
    51	{
  > 52		return 0;
    53	}
    54	#endif
    55	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (59081 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ