[gustavoars:testing/wfamnae-next20240710-cbc 13/13] ./usr/include/linux/usb/video.h:403:60: warning: type specifier missing, defaults to 'int'

From: kernel test robot
Date: Wed Jul 17 2024 - 10:12:33 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/wfamnae-next20240710-cbc
head: e3597892cb471e5732700d17c2cca098f3148759
commit: 73efb8d9b6a2ba4b07021861a1760ec742ddf432 [13/13] usb: video: Avoid -Wflex-array-member-not-at-end warning
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20240717/202407172246.JMnOxzX5-lkp@xxxxxxxxx/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240717/202407172246.JMnOxzX5-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/202407172246.JMnOxzX5-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

In file included from <built-in>:1:
>> ./usr/include/linux/usb/video.h:403:60: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
403 | static_assert(offsetof(struct uvc_input_header_descriptor, bmaControls) ==
| ^
| int
./usr/include/linux/usb/video.h:403:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
403 | static_assert(offsetof(struct uvc_input_header_descriptor, bmaControls) ==
| ^
| int
./usr/include/linux/usb/video.h:403:73: error: expected ')'
403 | static_assert(offsetof(struct uvc_input_header_descriptor, bmaControls) ==
| ^
./usr/include/linux/usb/video.h:403:14: note: to match this '('
403 | static_assert(offsetof(struct uvc_input_header_descriptor, bmaControls) ==
| ^
./usr/include/linux/usb/video.h:403:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
403 | static_assert(offsetof(struct uvc_input_header_descriptor, bmaControls) ==
| ^
| int
3 warnings and 1 error generated.

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki