All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Asahi Lina <lina@asahilina.net>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [asahilinux:gpu/rust-wip 21/21] mm/shmem.c:95:8: warning: type qualifiers ignored on function return type
Date: Mon, 28 Aug 2023 14:56:41 +0800	[thread overview]
Message-ID: <202308281433.WAS6oHIn-lkp@intel.com> (raw)

tree:   https://github.com/AsahiLinux/linux gpu/rust-wip
head:   a8f31bd038880e11b0786822f42ef8fa6276c303
commit: a8f31bd038880e11b0786822f42ef8fa6276c303 [21/21] shmem: 16K on 4K hack
config: mips-allnoconfig (https://download.01.org/0day-ci/archive/20230828/202308281433.WAS6oHIn-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230828/202308281433.WAS6oHIn-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/202308281433.WAS6oHIn-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> mm/shmem.c:95:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
      95 | static const unsigned long shmem_base_nr(struct address_space *mapping) {
         |        ^~~~~


vim +95 mm/shmem.c

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

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

                 reply	other threads:[~2023-08-28  6:57 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=202308281433.WAS6oHIn-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=lina@asahilina.net \
    --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.