From: kernel test robot <lkp@intel.com>
To: Vegard Nossum <vegard.nossum@oracle.com>,
Masahiro Yamada <masahiroy@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-kbuild@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org,
kvmarm@lists.linux.dev, kvm@vger.kernel.org,
linux-um@lists.infradead.org, bpf@vger.kernel.org,
llvm@lists.linux.dev, Vegard Nossum <vegard.nossum@oracle.com>
Subject: Re: [PATCH] kbuild: use objcopy to generate asm-offsets
Date: Thu, 29 Aug 2024 22:58:47 +0800 [thread overview]
Message-ID: <202408292215.pEJKHLfT-lkp@intel.com> (raw)
In-Reply-To: <20240828083605.3093701-1-vegard.nossum@oracle.com>
Hi Vegard,
kernel test robot noticed the following build errors:
[auto build test ERROR on masahiroy-kbuild/for-next]
[also build test ERROR on masahiroy-kbuild/fixes soc/for-next kvmarm/next kvm/queue uml/next krzk-mem-ctrl/for-next bpf-next/master bpf/master linus/master v6.11-rc5 next-20240829]
[cannot apply to tmlind-omap/for-next kvm/linux-next uml/fixes]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Vegard-Nossum/kbuild-use-objcopy-to-generate-asm-offsets/20240828-163854
base: https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git for-next
patch link: https://lore.kernel.org/r/20240828083605.3093701-1-vegard.nossum%40oracle.com
patch subject: [PATCH] kbuild: use objcopy to generate asm-offsets
config: sh-randconfig-r072-20240829 (https://download.01.org/0day-ci/archive/20240829/202408292215.pEJKHLfT-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240829/202408292215.pEJKHLfT-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/202408292215.pEJKHLfT-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from scripts/mod/file2alias.c:13:
scripts/mod/file2alias.c: In function 'do_usb_entry':
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:66:55: note: in definition of macro 'TO_NATIVE'
66 | (target_is_big_endian == host_is_big_endian ? x : bswap(x))
| ^
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:175:9: note: in expansion of macro 'DEF_FIELD'
175 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:57:31: note: in definition of macro 'bswap'
57 | _Static_assert(sizeof(x) == 1 || sizeof(x) == 2 || \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:175:9: note: in expansion of macro 'DEF_FIELD'
175 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:57:49: note: in definition of macro 'bswap'
57 | _Static_assert(sizeof(x) == 1 || sizeof(x) == 2 || \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:175:9: note: in expansion of macro 'DEF_FIELD'
175 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:58:31: note: in definition of macro 'bswap'
58 | sizeof(x) == 4 || sizeof(x) == 8, "bug"); \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:175:9: note: in expansion of macro 'DEF_FIELD'
175 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:58:49: note: in definition of macro 'bswap'
58 | sizeof(x) == 4 || sizeof(x) == 8, "bug"); \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:175:9: note: in expansion of macro 'DEF_FIELD'
175 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:59:17: note: in definition of macro 'bswap'
59 | (typeof(x))(sizeof(x) == 2 ? bswap_16(x) : \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:175:9: note: in expansion of macro 'DEF_FIELD'
175 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:59:28: note: in definition of macro 'bswap'
59 | (typeof(x))(sizeof(x) == 2 ? bswap_16(x) : \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:175:9: note: in expansion of macro 'DEF_FIELD'
175 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
In file included from scripts/mod/modpost.h:2:
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:66:59: note: in expansion of macro 'bswap'
66 | (target_is_big_endian == host_is_big_endian ? x : bswap(x))
| ^~~~~
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:175:9: note: in expansion of macro 'DEF_FIELD'
175 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:60:28: note: in definition of macro 'bswap'
60 | sizeof(x) == 4 ? bswap_32(x) : \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:175:9: note: in expansion of macro 'DEF_FIELD'
175 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:66:59: note: in expansion of macro 'bswap'
66 | (target_is_big_endian == host_is_big_endian ? x : bswap(x))
| ^~~~~
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:175:9: note: in expansion of macro 'DEF_FIELD'
175 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:61:28: note: in definition of macro 'bswap'
61 | sizeof(x) == 8 ? bswap_64(x) : \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:175:9: note: in expansion of macro 'DEF_FIELD'
175 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:66:59: note: in expansion of macro 'bswap'
66 | (target_is_big_endian == host_is_big_endian ? x : bswap(x))
| ^~~~~
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:175:9: note: in expansion of macro 'DEF_FIELD'
175 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:62:21: note: in definition of macro 'bswap'
62 | x); \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:175:9: note: in expansion of macro 'DEF_FIELD'
175 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:11:36: error: stray '#' in program
11 | #define OFF_usb_device_id_idVendor #2 /* offsetof(struct usb_device_id, idVendor) */
| ^
scripts/mod/modpost.h:66:55: note: in definition of macro 'TO_NATIVE'
66 | (target_is_big_endian == host_is_big_endian ? x : bswap(x))
| ^
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_idVendor'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:176:9: note: in expansion of macro 'DEF_FIELD'
176 | DEF_FIELD(symval, usb_device_id, idVendor);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:11:36: error: stray '#' in program
11 | #define OFF_usb_device_id_idVendor #2 /* offsetof(struct usb_device_id, idVendor) */
| ^
scripts/mod/modpost.h:57:31: note: in definition of macro 'bswap'
57 | _Static_assert(sizeof(x) == 1 || sizeof(x) == 2 || \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_idVendor'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:176:9: note: in expansion of macro 'DEF_FIELD'
176 | DEF_FIELD(symval, usb_device_id, idVendor);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:11:36: error: stray '#' in program
11 | #define OFF_usb_device_id_idVendor #2 /* offsetof(struct usb_device_id, idVendor) */
| ^
scripts/mod/modpost.h:57:49: note: in definition of macro 'bswap'
57 | _Static_assert(sizeof(x) == 1 || sizeof(x) == 2 || \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_idVendor'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:176:9: note: in expansion of macro 'DEF_FIELD'
176 | DEF_FIELD(symval, usb_device_id, idVendor);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:11:36: error: stray '#' in program
11 | #define OFF_usb_device_id_idVendor #2 /* offsetof(struct usb_device_id, idVendor) */
| ^
scripts/mod/modpost.h:58:31: note: in definition of macro 'bswap'
58 | sizeof(x) == 4 || sizeof(x) == 8, "bug"); \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_idVendor'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:176:9: note: in expansion of macro 'DEF_FIELD'
176 | DEF_FIELD(symval, usb_device_id, idVendor);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:11:36: error: stray '#' in program
11 | #define OFF_usb_device_id_idVendor #2 /* offsetof(struct usb_device_id, idVendor) */
| ^
scripts/mod/modpost.h:58:49: note: in definition of macro 'bswap'
58 | sizeof(x) == 4 || sizeof(x) == 8, "bug"); \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_idVendor'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:176:9: note: in expansion of macro 'DEF_FIELD'
176 | DEF_FIELD(symval, usb_device_id, idVendor);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:11:36: error: stray '#' in program
11 | #define OFF_usb_device_id_idVendor #2 /* offsetof(struct usb_device_id, idVendor) */
| ^
scripts/mod/modpost.h:59:17: note: in definition of macro 'bswap'
59 | (typeof(x))(sizeof(x) == 2 ? bswap_16(x) : \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_idVendor'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:176:9: note: in expansion of macro 'DEF_FIELD'
176 | DEF_FIELD(symval, usb_device_id, idVendor);
--
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_bInterfaceNumber'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:185:9: note: in expansion of macro 'DEF_FIELD'
185 | DEF_FIELD(symval, usb_device_id, bInterfaceNumber);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:21:44: error: stray '#' in program
21 | #define OFF_usb_device_id_bInterfaceNumber #16 /* offsetof(struct usb_device_id, bInterfaceNumber) */
| ^
scripts/mod/modpost.h:66:59: note: in expansion of macro 'bswap'
66 | (target_is_big_endian == host_is_big_endian ? x : bswap(x))
| ^~~~~
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_bInterfaceNumber'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:185:9: note: in expansion of macro 'DEF_FIELD'
185 | DEF_FIELD(symval, usb_device_id, bInterfaceNumber);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:21:44: error: stray '#' in program
21 | #define OFF_usb_device_id_bInterfaceNumber #16 /* offsetof(struct usb_device_id, bInterfaceNumber) */
| ^
scripts/mod/modpost.h:60:28: note: in definition of macro 'bswap'
60 | sizeof(x) == 4 ? bswap_32(x) : \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_bInterfaceNumber'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:185:9: note: in expansion of macro 'DEF_FIELD'
185 | DEF_FIELD(symval, usb_device_id, bInterfaceNumber);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:21:44: error: stray '#' in program
21 | #define OFF_usb_device_id_bInterfaceNumber #16 /* offsetof(struct usb_device_id, bInterfaceNumber) */
| ^
scripts/mod/modpost.h:66:59: note: in expansion of macro 'bswap'
66 | (target_is_big_endian == host_is_big_endian ? x : bswap(x))
| ^~~~~
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_bInterfaceNumber'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:185:9: note: in expansion of macro 'DEF_FIELD'
185 | DEF_FIELD(symval, usb_device_id, bInterfaceNumber);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:21:44: error: stray '#' in program
21 | #define OFF_usb_device_id_bInterfaceNumber #16 /* offsetof(struct usb_device_id, bInterfaceNumber) */
| ^
scripts/mod/modpost.h:61:28: note: in definition of macro 'bswap'
61 | sizeof(x) == 8 ? bswap_64(x) : \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_bInterfaceNumber'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:185:9: note: in expansion of macro 'DEF_FIELD'
185 | DEF_FIELD(symval, usb_device_id, bInterfaceNumber);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:21:44: error: stray '#' in program
21 | #define OFF_usb_device_id_bInterfaceNumber #16 /* offsetof(struct usb_device_id, bInterfaceNumber) */
| ^
scripts/mod/modpost.h:66:59: note: in expansion of macro 'bswap'
66 | (target_is_big_endian == host_is_big_endian ? x : bswap(x))
| ^~~~~
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_bInterfaceNumber'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:185:9: note: in expansion of macro 'DEF_FIELD'
185 | DEF_FIELD(symval, usb_device_id, bInterfaceNumber);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:21:44: error: stray '#' in program
21 | #define OFF_usb_device_id_bInterfaceNumber #16 /* offsetof(struct usb_device_id, bInterfaceNumber) */
| ^
scripts/mod/modpost.h:62:21: note: in definition of macro 'bswap'
62 | x); \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_bInterfaceNumber'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:185:9: note: in expansion of macro 'DEF_FIELD'
185 | DEF_FIELD(symval, usb_device_id, bInterfaceNumber);
| ^~~~~~~~~
scripts/mod/file2alias.c: In function 'do_usb_entry_multi':
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:66:55: note: in definition of macro 'TO_NATIVE'
66 | (target_is_big_endian == host_is_big_endian ? x : bswap(x))
| ^
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:282:9: note: in expansion of macro 'DEF_FIELD'
282 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:57:31: note: in definition of macro 'bswap'
57 | _Static_assert(sizeof(x) == 1 || sizeof(x) == 2 || \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:282:9: note: in expansion of macro 'DEF_FIELD'
282 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:57:49: note: in definition of macro 'bswap'
57 | _Static_assert(sizeof(x) == 1 || sizeof(x) == 2 || \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:282:9: note: in expansion of macro 'DEF_FIELD'
282 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:58:31: note: in definition of macro 'bswap'
58 | sizeof(x) == 4 || sizeof(x) == 8, "bug"); \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:282:9: note: in expansion of macro 'DEF_FIELD'
282 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:58:49: note: in definition of macro 'bswap'
58 | sizeof(x) == 4 || sizeof(x) == 8, "bug"); \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:282:9: note: in expansion of macro 'DEF_FIELD'
282 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:59:17: note: in definition of macro 'bswap'
59 | (typeof(x))(sizeof(x) == 2 ? bswap_16(x) : \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:282:9: note: in expansion of macro 'DEF_FIELD'
282 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
>> ./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:59:28: note: in definition of macro 'bswap'
59 | (typeof(x))(sizeof(x) == 2 ? bswap_16(x) : \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:282:9: note: in expansion of macro 'DEF_FIELD'
282 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:66:59: note: in expansion of macro 'bswap'
66 | (target_is_big_endian == host_is_big_endian ? x : bswap(x))
| ^~~~~
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:282:9: note: in expansion of macro 'DEF_FIELD'
282 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:60:28: note: in definition of macro 'bswap'
60 | sizeof(x) == 4 ? bswap_32(x) : \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:282:9: note: in expansion of macro 'DEF_FIELD'
282 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:66:59: note: in expansion of macro 'bswap'
66 | (target_is_big_endian == host_is_big_endian ? x : bswap(x))
| ^~~~~
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:282:9: note: in expansion of macro 'DEF_FIELD'
282 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:61:28: note: in definition of macro 'bswap'
61 | sizeof(x) == 8 ? bswap_64(x) : \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:282:9: note: in expansion of macro 'DEF_FIELD'
282 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:66:59: note: in expansion of macro 'bswap'
66 | (target_is_big_endian == host_is_big_endian ? x : bswap(x))
| ^~~~~
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~
scripts/mod/file2alias.c:282:9: note: in expansion of macro 'DEF_FIELD'
282 | DEF_FIELD(symval, usb_device_id, match_flags);
| ^~~~~~~~~
./scripts/mod/devicetable-offsets.h:10:39: error: stray '#' in program
10 | #define OFF_usb_device_id_match_flags #0 /* offsetof(struct usb_device_id, match_flags) */
| ^
scripts/mod/modpost.h:62:21: note: in definition of macro 'bswap'
62 | x); \
| ^
scripts/mod/file2alias.c:73:44: note: in expansion of macro 'TO_NATIVE'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
| ^~~~~~~~~
scripts/mod/file2alias.c:73:75: note: in expansion of macro 'OFF_usb_device_id_match_flags'
73 | typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-08-29 15:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-28 8:36 [PATCH] kbuild: use objcopy to generate asm-offsets Vegard Nossum
2024-08-28 10:07 ` Vegard Nossum
2024-08-29 14:58 ` kernel test robot [this message]
2024-08-29 15:50 ` kernel test robot
2024-08-29 20:37 ` kernel test robot
2024-09-02 23:45 ` Michael Ellerman
2024-09-03 7:20 ` Vegard Nossum
2024-09-03 9:28 ` Masahiro Yamada
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=202408292215.pEJKHLfT-lkp@intel.com \
--to=lkp@intel.com \
--cc=bpf@vger.kernel.org \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.linux.dev \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-um@lists.infradead.org \
--cc=llvm@lists.linux.dev \
--cc=masahiroy@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=vegard.nossum@oracle.com \
/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;
as well as URLs for NNTP newsgroup(s).