diff options
author | Jiri Pirko <[email protected]> | 2024-03-06 13:07:39 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-03-07 20:51:00 -0800 |
commit | 5c497a64820ef9f10962a9c37607df45d6395fa5 (patch) | |
tree | 70dfcbc296d0f014b2584f6511a79bcac9778f4e /lib/crypto/mpi/mpi-add.c | |
parent | 84c49aac0ea4df7ab69d4f0f2ce62dc9b1e77363 (diff) |
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 <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions