public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [bcachefs:header_cleanup 34/50] include/linux/mm_types_task.h:38:30: warning: 'PAGE_SIZE' is not defined, evaluates to 0
@ 2023-12-17 11:39 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-17 11:39 UTC (permalink / raw)
  To: Kent Overstreet; +Cc: llvm, oe-kbuild-all, Kent Overstreet

tree:   https://evilpiepirate.org/git/bcachefs.git header_cleanup
head:   7288b19e061b7aa3f46f685e9944af128f10ffd5
commit: 6a6f9cc57f908d2dfe7f0b26cd618fec2a8d9efc [34/50] mm_types_task.h: Trim dependencies
config: i386-buildonly-randconfig-002-20231217 (https://download.01.org/0day-ci/archive/20231217/202312171907.fn57dyqK-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231217/202312171907.fn57dyqK-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/202312171907.fn57dyqK-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/android/binder_alloc_selftest.c:11:
   In file included from include/linux/mm_types.h:5:
>> include/linux/mm_types_task.h:38:30: warning: 'PAGE_SIZE' is not defined, evaluates to 0 [-Wundef]
   #if (BITS_PER_LONG > 32) || (PAGE_SIZE >= 65536)
                                ^
   1 warning generated.


vim +/PAGE_SIZE +38 include/linux/mm_types_task.h

6a6f9cc57f908d Kent Overstreet 2023-12-11  35  
9e7d2e44dd88ba Ingo Molnar     2017-02-04  36  struct page_frag {
9e7d2e44dd88ba Ingo Molnar     2017-02-04  37  	struct page *page;
9e7d2e44dd88ba Ingo Molnar     2017-02-04 @38  #if (BITS_PER_LONG > 32) || (PAGE_SIZE >= 65536)
9e7d2e44dd88ba Ingo Molnar     2017-02-04  39  	__u32 offset;
9e7d2e44dd88ba Ingo Molnar     2017-02-04  40  	__u32 size;
9e7d2e44dd88ba Ingo Molnar     2017-02-04  41  #else
9e7d2e44dd88ba Ingo Molnar     2017-02-04  42  	__u16 offset;
9e7d2e44dd88ba Ingo Molnar     2017-02-04  43  	__u16 size;
9e7d2e44dd88ba Ingo Molnar     2017-02-04  44  #endif
9e7d2e44dd88ba Ingo Molnar     2017-02-04  45  };
9e7d2e44dd88ba Ingo Molnar     2017-02-04  46  

:::::: The code at line 38 was first introduced by commit
:::::: 9e7d2e44dd88ba7e29c165b6fca428e384afa5a8 mm/headers, sched/headers: Move task related MM types from <linux/mm_types.> to <linux/mm_types_task.h>

:::::: TO: Ingo Molnar <mingo@kernel.org>
:::::: CC: Ingo Molnar <mingo@kernel.org>

-- 
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-12-17 11:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-17 11:39 [bcachefs:header_cleanup 34/50] include/linux/mm_types_task.h:38:30: warning: 'PAGE_SIZE' is not defined, evaluates to 0 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