From: kernel test robot <lkp@intel.com>
To: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [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
Date: Fri, 31 May 2024 18:02:05 +0800 [thread overview]
Message-ID: <202405311709.BlYsv7gI-lkp@intel.com> (raw)
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
reply other threads:[~2024-05-31 10:02 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=202405311709.BlYsv7gI-lkp@intel.com \
--to=lkp@intel.com \
--cc=jpoimboe@kernel.org \
--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