diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-01-11 02:31:41 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-13 00:29:31 +0300 |
| commit | 6ccc421b14613aac32b2647462ae4d40f5dd43b8 (patch) | |
| tree | a480e2e11fded31c3a656b4c58b685f493939a54 /include/uapi/linux | |
| parent | 45b99bb464eb62da555ecbef31583d9701881d43 (diff) | |
| download | linux-6ccc421b14613aac32b2647462ae4d40f5dd43b8.tar.xz | |
tools: ynl: cli: extract the event/notify handling in --list-attrs
Event and notify handling is quite different from do / dump
handling. Forcing it into print_mode_attrs() doesn't really
buy us anything as events and notifications do not have requests.
Call print_attr_list() directly. Apart form subjective code
clarity this also removes the word "reply" from the output:
Before:
Event reply attributes:
Now:
Event attributes:
Tested-by: Gal Pressman <gal@nvidia.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20260110233142.3921386-7-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
