linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Daniel Palmer <daniel@0x0f.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.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
Date: Mon, 24 Jan 2022 17:07:04 +0800	[thread overview]
Message-ID: <202201241610.bOsvsExd-lkp@intel.com> (raw)

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

                 reply	other threads:[~2022-01-24  9:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202201241610.bOsvsExd-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=daniel@0x0f.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).