Re: [PATCH] kbuild: use objcopy to generate asm-offsets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/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@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408292215.pEJKHLfT-lkp@xxxxxxxxx/

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




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux