diff options
author | 2024-03-06 13:07:39 +0100 | |
---|---|---|
committer | 2024-03-07 20:51:00 -0800 | |
commit | 5c497a64820ef9f10962a9c37607df45d6395fa5 (patch) | |
tree | 70dfcbc296d0f014b2584f6511a79bcac9778f4e /include/linux/netdevice.h | |
parent | net: dsa: mv88e6xxx: update 88e6185 PCS driver to use neg_mode (diff) | |
download | linux-rng-5c497a64820ef9f10962a9c37607df45d6395fa5.tar.xz linux-rng-5c497a64820ef9f10962a9c37607df45d6395fa5.zip |
dpll: spec: use proper enum for pin capabilities attribute
The enum is defined, however the pin capabilities attribute does
refer to it. Add this missing enum field.
This fixes ynl cli output:
Example current output:
$ sudo ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/dpll.yaml --do pin-get --json '{"id": 0}'
{'capabilities': 4,
...
Example new output:
$ sudo ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/dpll.yaml --do pin-get --json '{"id": 0}'
{'capabilities': {'state-can-change'},
...
Fixes: 3badff3a25d8 ("dpll: spec: Add Netlink spec in YAML")
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20240306120739.1447621-1-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions