* [jpoimboe:objtool-diff 1/3] arch/arm/vdso/note.c:14:1: error: a parameter list without types is only allowed in a function definition
@ 2024-05-31 10:02 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-05-31 10:02 UTC (permalink / raw)
To: Josh Poimboeuf; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git objtool-diff
head: c400d5b1cd1124fd45c7b1a966ce9caad1e406fc
commit: 6a1b99664af09b91f30739d6ecaa83f17545654a [1/3] todo
config: arm-defconfig (https://download.01.org/0day-ci/archive/20240531/202405311709.BlYsv7gI-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240531/202405311709.BlYsv7gI-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/202405311709.BlYsv7gI-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> arch/arm/vdso/note.c:14:1: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
ELFNOTE32("Linux", 0, LINUX_VERSION_CODE);
^
include/linux/elfnote.h:93:37: note: expanded from macro 'ELFNOTE32'
#define ELFNOTE32(name, type, desc) ELFNOTE(32, name, type, desc)
^
include/linux/elfnote.h:91:2: note: expanded from macro 'ELFNOTE'
_ELFNOTE(size, name, __COUNTER__, type, desc)
^
include/linux/elfnote.h:71:9: note: expanded from macro '_ELFNOTE'
static const struct { \
^
>> arch/arm/vdso/note.c:14:1: error: a parameter list without types is only allowed in a function definition
include/linux/elfnote.h:93:37: note: expanded from macro 'ELFNOTE32'
#define ELFNOTE32(name, type, desc) ELFNOTE(32, name, type, desc)
^
include/linux/elfnote.h:91:2: note: expanded from macro 'ELFNOTE'
_ELFNOTE(size, name, __COUNTER__, type, desc)
^
include/linux/elfnote.h:77:16: note: expanded from macro '_ELFNOTE'
} __UNIQUE_ID(_note_) \
^
arch/arm/vdso/note.c:15:1: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
BUILD_SALT;
^
include/linux/build-salt.h:16:8: note: expanded from macro 'BUILD_SALT'
ELFNOTE32("Linux", LINUX_ELFNOTE_BUILD_SALT, CONFIG_BUILD_SALT)
^
include/linux/elfnote.h:93:37: note: expanded from macro 'ELFNOTE32'
#define ELFNOTE32(name, type, desc) ELFNOTE(32, name, type, desc)
^
include/linux/elfnote.h:91:2: note: expanded from macro 'ELFNOTE'
_ELFNOTE(size, name, __COUNTER__, type, desc)
^
include/linux/elfnote.h:71:9: note: expanded from macro '_ELFNOTE'
static const struct { \
^
arch/arm/vdso/note.c:15:1: error: a parameter list without types is only allowed in a function definition
include/linux/build-salt.h:16:8: note: expanded from macro 'BUILD_SALT'
ELFNOTE32("Linux", LINUX_ELFNOTE_BUILD_SALT, CONFIG_BUILD_SALT)
^
include/linux/elfnote.h:93:37: note: expanded from macro 'ELFNOTE32'
#define ELFNOTE32(name, type, desc) ELFNOTE(32, name, type, desc)
^
include/linux/elfnote.h:91:2: note: expanded from macro 'ELFNOTE'
_ELFNOTE(size, name, __COUNTER__, type, desc)
^
include/linux/elfnote.h:77:16: note: expanded from macro '_ELFNOTE'
} __UNIQUE_ID(_note_) \
^
2 warnings and 2 errors generated.
vim +14 arch/arm/vdso/note.c
20e2fc42312f96 Vincenzo Frascino 2019-11-04 13
20e2fc42312f96 Vincenzo Frascino 2019-11-04 @14 ELFNOTE32("Linux", 0, LINUX_VERSION_CODE);
:::::: The code at line 14 was first introduced by commit
:::::: 20e2fc42312f960f497ac2d617e3742754e1fa5e ARM: 8930/1: Add support for generic vDSO
:::::: TO: Vincenzo Frascino <vincenzo.frascino@arm.com>
:::::: CC: Russell King <rmk+kernel@armlinux.org.uk>
--
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:[~2024-05-31 10:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-31 10:02 [jpoimboe:objtool-diff 1/3] arch/arm/vdso/note.c:14:1: error: a parameter list without types is only allowed in a function definition 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