Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Luis Chamberlain <mcgrof@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [mcgrof:dmabuf-size-ceiling-v7.3-rc3 28/29] include/linux/sunrpc/xdrgen/_defs.h:13:9: warning: 'TRUE' macro redefined
Date: Sat, 26 Sep 2026 15:40:50 +0800	[thread overview]
Message-ID: <202609261528.3V2sJvs1-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git dmabuf-size-ceiling-v7.3-rc3
head:   837ed875be1a747823a663f160a8122b60c0c88a
commit: c5e054ccaedf0778bd70baf19cc9200fe5a7acc1 [28/29] drm/amdkfd: port AMD Infinity Storage file I/O from the amdgpu driver
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20260926/202609261528.3V2sJvs1-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260926/202609261528.3V2sJvs1-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/202609261528.3V2sJvs1-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_ais.c:57:
   In file included from include/linux/nfs_fs.h:41:
   In file included from include/linux/nfs4.h:20:
   In file included from include/linux/sunrpc/xdrgen/nfs4_1.h:10:
>> include/linux/sunrpc/xdrgen/_defs.h:13:9: warning: 'TRUE' macro redefined [-Wmacro-redefined]
      13 | #define TRUE    (true)
         |         ^
   include/acpi/actypes.h:412:9: note: previous definition is here
     412 | #define TRUE                            (1 == 1)
         |         ^
   In file included from drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_ais.c:57:
   In file included from include/linux/nfs_fs.h:41:
   In file included from include/linux/nfs4.h:20:
   In file included from include/linux/sunrpc/xdrgen/nfs4_1.h:10:
>> include/linux/sunrpc/xdrgen/_defs.h:14:9: warning: 'FALSE' macro redefined [-Wmacro-redefined]
      14 | #define FALSE   (false)
         |         ^
   include/acpi/actypes.h:407:9: note: previous definition is here
     407 | #define FALSE                           (1 == 0)
         |         ^
   2 warnings generated.


vim +/TRUE +13 include/linux/sunrpc/xdrgen/_defs.h

4b132aacb0768ac Chuck Lever 2024-09-13  12  
4b132aacb0768ac Chuck Lever 2024-09-13 @13  #define TRUE	(true)
4b132aacb0768ac Chuck Lever 2024-09-13 @14  #define FALSE	(false)
4b132aacb0768ac Chuck Lever 2024-09-13  15  

:::::: The code at line 13 was first introduced by commit
:::::: 4b132aacb0768ac1e652cf517097ea6f237214b9 tools: Add xdrgen

:::::: TO: Chuck Lever <chuck.lever@oracle.com>
:::::: CC: Chuck Lever <chuck.lever@oracle.com>

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

                 reply	other threads:[~2026-09-26  7: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=202609261528.3V2sJvs1-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=mcgrof@kernel.org \
    --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