[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202407281233.Rlzs3LRF-lkp@intel.com>
Date: Sun, 28 Jul 2024 12:48:05 +0800
From: kernel test robot <lkp@...el.com>
To: "Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: [gustavoars:testing/wfamnae-next20240726-cbc 14/14]
usr/include/linux/ethtool.h:1645:15: error: expected parameter declarator
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/wfamnae-next20240726-cbc
head: bd10b39e2b713a2f9fe8715278e9d4bee9253e24
commit: bd10b39e2b713a2f9fe8715278e9d4bee9253e24 [14/14] ethtool: Avoid -Wflex-array-member-not-at-end warning
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20240728/202407281233.Rlzs3LRF-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/20240728/202407281233.Rlzs3LRF-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407281233.Rlzs3LRF-lkp@intel.com/
All errors (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:1645:15: error: expected parameter declarator
1645 | static_assert(offsetof(struct ethtool_dump, data) == sizeof(struct ethtool_dump_hdr),
| ^
/opt/cross/clang-617a15a9ea/lib/clang/18/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
16 | #define offsetof(t, d) __builtin_offsetof(t, d)
| ^
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:1645:15: error: expected ')'
/opt/cross/clang-617a15a9ea/lib/clang/18/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
16 | #define offsetof(t, d) __builtin_offsetof(t, d)
| ^
usr/include/linux/ethtool.h:1645:14: note: to match this '('
1645 | static_assert(offsetof(struct ethtool_dump, data) == sizeof(struct ethtool_dump_hdr),
| ^
usr/include/linux/ethtool.h:1645:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
1645 | static_assert(offsetof(struct ethtool_dump, data) == sizeof(struct ethtool_dump_hdr),
| ^
| int
1 warning and 2 errors generated.
--
In file included from <built-in>:1:
>> ./usr/include/linux/ethtool.h:1645:15: error: expected parameter declarator
1645 | static_assert(offsetof(struct ethtool_dump, data) == sizeof(struct ethtool_dump_hdr),
| ^
/opt/cross/clang-617a15a9ea/lib/clang/18/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
16 | #define offsetof(t, d) __builtin_offsetof(t, d)
| ^
In file included from <built-in>:1:
./usr/include/linux/ethtool.h:1645:15: error: expected ')'
/opt/cross/clang-617a15a9ea/lib/clang/18/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
16 | #define offsetof(t, d) __builtin_offsetof(t, d)
| ^
./usr/include/linux/ethtool.h:1645:14: note: to match this '('
1645 | static_assert(offsetof(struct ethtool_dump, data) == sizeof(struct ethtool_dump_hdr),
| ^
./usr/include/linux/ethtool.h:1645:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
1645 | static_assert(offsetof(struct ethtool_dump, data) == sizeof(struct ethtool_dump_hdr),
| ^
| int
1 warning and 2 errors generated.
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists