public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kent Overstreet <kmo@daterainc.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Kent Overstreet <kmo@daterainc.com>
Subject: [bcachefs:header_cleanup 34/50] include/linux/mm_types_task.h:38:30: warning: 'PAGE_SIZE' is not defined, evaluates to 0
Date: Sun, 17 Dec 2023 19:39:35 +0800	[thread overview]
Message-ID: <202312171907.fn57dyqK-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-12-17 11:40 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=202312171907.fn57dyqK-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kmo@daterainc.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox