All of lore.kernel.org
 help / color / mirror / Atom feed
* [asahilinux:gpu/rust-wip 3/5] mm/shmem.c:96:8: warning: 'const' type qualifier on return type has no effect
@ 2023-06-28 18:14 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-06-28 18:14 UTC (permalink / raw)
  To: Asahi Lina; +Cc: llvm, oe-kbuild-all

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

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

only message in thread, other threads:[~2023-06-28 18:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-28 18:14 [asahilinux:gpu/rust-wip 3/5] mm/shmem.c:96:8: warning: 'const' type qualifier on return type has no effect kernel test robot

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.