linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [chenxing:msc313_mainlining 82/90] drivers/gpio/gpio-msc313-pm.c:90:11: warning: initialization discards 'const' qualifier from pointer target type
@ 2022-01-24  9:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-24  9:07 UTC (permalink / raw)
  To: Daniel Palmer; +Cc: kbuild-all, linux-kernel

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@intel.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-24  9:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-24  9:07 [chenxing:msc313_mainlining 82/90] drivers/gpio/gpio-msc313-pm.c:90:11: warning: initialization discards 'const' qualifier from pointer target type kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).