* [mcgrof:dmabuf-size-ceiling-v7.3-rc3 28/29] include/linux/sunrpc/xdrgen/_defs.h:13:9: warning: "TRUE" redefined
@ 2026-09-25 13:57 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-25 13:57 UTC (permalink / raw)
To: Luis Chamberlain; +Cc: oe-kbuild-all
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: x86_64-randconfig-1006-20260925 (https://download.01.org/0day-ci/archive/20260925/202609252129.XKayNOvc-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260925/202609252129.XKayNOvc-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/202609252129.XKayNOvc-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/linux/sunrpc/xdrgen/nfs4_1.h:10,
from include/linux/nfs4.h:20,
from include/linux/nfs_fs.h:41,
from drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_ais.c:57:
>> include/linux/sunrpc/xdrgen/_defs.h:13:9: warning: "TRUE" redefined
13 | #define TRUE (true)
| ^~~~
In file included from include/acpi/acpi.h:24,
from include/linux/acpi.h:27,
from include/linux/i2c.h:13,
from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu_ras_eeprom.h:27,
from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu_ras.h:32,
from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu_gfx.h:35,
from drivers/gpu/drm/amd/amdgpu/../include/kgd_kfd_interface.h:35,
from drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_priv.h:47,
from drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_ais.c:32:
include/acpi/actypes.h:412:9: note: this is the location of the previous definition
412 | #define TRUE (1 == 1)
| ^~~~
>> include/linux/sunrpc/xdrgen/_defs.h:14:9: warning: "FALSE" redefined
14 | #define FALSE (false)
| ^~~~~
include/acpi/actypes.h:407:9: note: this is the location of the previous definition
407 | #define FALSE (1 == 0)
| ^~~~~
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_ais.c: In function 'kfd_ais_init_attr':
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_ais.c:387:36: warning: '%s' directive output truncated writing between 6 and 7 bytes into a region of size between 0 and 2 [-Wformat-truncation=]
387 | "%04x:%02x:%02x.%d:%s", pci_domain_nr(pdev->bus), pdev->bus->number,
| ^~
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_ais.c:386:9: note: 'snprintf' output between 20 and 25 bytes into a destination of size 15
386 | snprintf(filename, MAX_SYSFS_FILENAME_LEN,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
387 | "%04x:%02x:%02x.%d:%s", pci_domain_nr(pdev->bus), pdev->bus->number,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
388 | PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), suffix);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-25 13:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-25 13:57 [mcgrof:dmabuf-size-ceiling-v7.3-rc3 28/29] include/linux/sunrpc/xdrgen/_defs.h:13:9: warning: "TRUE" redefined 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.