mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
39f04b1406
We don't support CRUD-inspired message types in YNL too well.
One aspect that currently trips us up is the fact that single
message ID can be used in multiple commands (as the response).
This leads to duplicate entries in the id-to-string tables:
devlink-user.c:19:34: warning: initialized field overwritten [-Woverride-init]
19 | [DEVLINK_CMD_PORT_NEW] = "port-new",
| ^~~~~~~~~~
devlink-user.c:19:34: note: (near initialization for ‘devlink_op_strmap[7]’)
Fixes tag points at where the code was generated, the "real" problem
is that the code generator does not support CRUD.
Fixes:
|
||
---|---|---|
.. | ||
generated | ||
lib | ||
samples | ||
cli.py | ||
ethtool.py | ||
Makefile | ||
Makefile.deps | ||
requirements.txt | ||
ynl-gen-c.py | ||
ynl-regen.sh |