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: <202212170533.H1u3j4TL-lkp@intel.com>
Date:   Sat, 17 Dec 2022 05:35:38 +0800
From:   kernel test robot <lkp@...el.com>
To:     Sean Anderson <sean.anderson@...o.com>,
        Alessandro Zummo <a.zummo@...ertech.it>,
        Alexandre Belloni <alexandre.belloni@...tlin.com>,
        linux-rtc@...r.kernel.org
Cc:     llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
        linux-kernel@...r.kernel.org,
        Sean Anderson <sean.anderson@...o.com>
Subject: Re: [PATCH v3] rtc: abx80x: Add nvmem support

Hi Sean,

I love your patch! Perhaps something to improve:

[auto build test WARNING on v6.1]
[also build test WARNING on linus/master]
[cannot apply to abelloni/rtc-next next-20221216]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Sean-Anderson/rtc-abx80x-Add-nvmem-support/20221217-011601
patch link:    https://lore.kernel.org/r/20221216170643.2953920-1-sean.anderson%40seco.com
patch subject: [PATCH v3] rtc: abx80x: Add nvmem support
config: x86_64-randconfig-a014
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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://github.com/intel-lab-lkp/linux/commit/853a2a957b8626c0dce3f71d3055d6a83b8f5c18
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Sean-Anderson/rtc-abx80x-Add-nvmem-support/20221217-011601
        git checkout 853a2a957b8626c0dce3f71d3055d6a83b8f5c18
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/rtc/

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

All warnings (new ones prefixed by >>):

>> drivers/rtc/rtc-abx80x.c:738:17: warning: unused variable 'dev' [-Wunused-variable]
           struct device *dev = &priv->client->dev;
                          ^
   1 warning generated.


vim +/dev +738 drivers/rtc/rtc-abx80x.c

   735	
   736	static int abx80x_setup_nvmem(struct abx80x_priv *priv)
   737	{
 > 738		struct device *dev = &priv->client->dev;
   739		struct nvmem_config config = {
   740			.type = NVMEM_TYPE_BATTERY_BACKED,
   741			.reg_read = abx80x_nvmem_read,
   742			.reg_write = abx80x_nvmem_write,
   743			.size = ABX8XX_RAM_SIZE,
   744			.priv = priv,
   745		};
   746	
   747		return devm_rtc_nvmem_register(priv->rtc, &config);
   748	}
   749	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (166750 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ