public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [gustavoars:testing/wfamnae-next20240710-cbc 12/13] usr/include/linux/ethtool.h:1644:51: error: expected ')'
@ 2024-07-16 21:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-07-16 21:59 UTC (permalink / raw)
  To: Gustavo A. R. Silva; +Cc: llvm, oe-kbuild-all, Gustavo A. R. Silva, LKML

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/wfamnae-next20240710-cbc
head:   e3597892cb471e5732700d17c2cca098f3148759
commit: d2fc97b383bbbdff9312f7993dbc9fd9d44bf379 [12/13] ethtool: Avoid -Wflex-array-member-not-at-end warning
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20240717/202407170517.BxkUPcmH-lkp@intel.com/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/202407170517.BxkUPcmH-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/202407170517.BxkUPcmH-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   In file included from <built-in>:1:
   In file included from ./usr/include/linux/mdio.h:15:
   In file included from usr/include/linux/mii.h:13:
>> usr/include/linux/ethtool.h:1644:45: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    1644 | static_assert(offsetof(struct ethtool_dump, data) ==
         |                                             ^
         |                                             int
   usr/include/linux/ethtool.h:1644:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    1644 | static_assert(offsetof(struct ethtool_dump, data) ==
         |               ^
         |               int
>> usr/include/linux/ethtool.h:1644:51: error: expected ')'
    1644 | static_assert(offsetof(struct ethtool_dump, data) ==
         |                                                   ^
   usr/include/linux/ethtool.h:1644:14: note: to match this '('
    1644 | static_assert(offsetof(struct ethtool_dump, data) ==
         |              ^
   usr/include/linux/ethtool.h:1644:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    1644 | static_assert(offsetof(struct ethtool_dump, data) ==
         | ^
         | int
   3 warnings and 1 error generated.
--
   In file included from <built-in>:1:
>> ./usr/include/linux/ethtool.h:1644:45: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    1644 | static_assert(offsetof(struct ethtool_dump, data) ==
         |                                             ^
         |                                             int
   ./usr/include/linux/ethtool.h:1644:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    1644 | static_assert(offsetof(struct ethtool_dump, data) ==
         |               ^
         |               int
>> ./usr/include/linux/ethtool.h:1644:51: error: expected ')'
    1644 | static_assert(offsetof(struct ethtool_dump, data) ==
         |                                                   ^
   ./usr/include/linux/ethtool.h:1644:14: note: to match this '('
    1644 | static_assert(offsetof(struct ethtool_dump, data) ==
         |              ^
   ./usr/include/linux/ethtool.h:1644:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    1644 | static_assert(offsetof(struct ethtool_dump, data) ==
         | ^
         | int
   3 warnings and 1 error generated.

-- 
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-07-16 22:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-16 21:59 [gustavoars:testing/wfamnae-next20240710-cbc 12/13] usr/include/linux/ethtool.h:1644:51: error: expected ')' 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