All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Asahi Lina <lina@asahilina.net>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [asahilinux:gpu/rust-wip 3/5] mm/shmem.c:96:8: warning: 'const' type qualifier on return type has no effect
Date: Thu, 29 Jun 2023 02:14:46 +0800	[thread overview]
Message-ID: <202306290207.4pcekBLh-lkp@intel.com> (raw)

tree:   https://github.com/AsahiLinux/linux gpu/rust-wip
head:   add608c3e9db6e64e0cde5d883257d6fa6163bea
commit: 185978bc72854af761d4c55d648d7e0c237be725 [3/5] shmem: 16K on 4K hack
config: arm-randconfig-r046-20230628 (https://download.01.org/0day-ci/archive/20230629/202306290207.4pcekBLh-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce: (https://download.01.org/0day-ci/archive/20230629/202306290207.4pcekBLh-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306290207.4pcekBLh-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> mm/shmem.c:96:8: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
      96 | static const unsigned long shmem_base_nr(struct address_space *mapping) {
         |        ^~~~~~
   1 warning generated.


vim +/const +96 mm/shmem.c

    95	
  > 96	static const unsigned long shmem_base_nr(struct address_space *mapping) {
    97		return 1L << mapping->order;
    98	}
    99	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2023-06-28 18:14 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=202306290207.4pcekBLh-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=lina@asahilina.net \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.