Re: [PATCH net-next 10/15] net/smc: Introduce SMCR get link command

Jakub Kicinski
2020-11-02T22:12:59Z

On Mon, 2 Nov 2020 20:34:04 +0100 Karsten Graul wrote:
> + __u8 netdev[IFNAMSIZ]; /* ethernet device name */

In file included from <command-line>:32:
./usr/include/linux/smc_diag.h:135:14: error: ‘IFNAMSIZ’ undeclared here (not in a function)
135 | __u8 netdev[IFNAMSIZ]; /* ethernet device name */
| ^~~~~~~~
make[3]: *** [usr/include/linux/smc_diag.hdrtest] Error 1
make[2]: *** [usr/include] Error 2
make[1]: *** [usr] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** wait: No child processes. Stop.
make: *** [__sub-make] Error 2
In file included from <command-line>:32:
./usr/include/linux/smc_diag.h:135:14: error: ‘IFNAMSIZ’ undeclared here (not in a function)
135 | __u8 netdev[IFNAMSIZ]; /* ethernet device name */
| ^~~~~~~~