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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 24 Jan 2022 17:07:04 +0800
From:   kernel test robot <lkp@...el.com>
To:     Daniel Palmer <daniel@...f.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [chenxing:msc313_mainlining 82/90]
 drivers/gpio/gpio-msc313-pm.c:90:11: warning: initialization discards
 'const' qualifier from pointer target type

tree:   git://github.com/linux-chenxing/linux.git msc313_mainlining
head:   95bf95e262689705ba9f678bb9d61c0430b1d12c
commit: b2498532eaf18ca377ffdad0364c3f5eb39185a7 [82/90] gpio: msc313: MStar MSC313 PM GPIO driver
config: arm-defconfig (https://download.01.org/0day-ci/archive/20220124/202201241610.bOsvsExd-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
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/linux-chenxing/linux/commit/b2498532eaf18ca377ffdad0364c3f5eb39185a7
        git remote add chenxing git://github.com/linux-chenxing/linux.git
        git fetch --no-tags chenxing msc313_mainlining
        git checkout b2498532eaf18ca377ffdad0364c3f5eb39185a7
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash drivers/gpio/

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/gpio/gpio-msc313-pm.c:90:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
      90 | CHIP_DATA(msc313);
         |           ^~~~~~
   drivers/gpio/gpio-msc313-pm.c:72:26: note: in definition of macro 'CHIP_DATA'
      72 |                 .names = chipname##_names,\
         |                          ^~~~~~~~


vim +/const +90 drivers/gpio/gpio-msc313-pm.c

    89	
  > 90	CHIP_DATA(msc313);
    91	#endif /* infinity */
    92	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ