| a8c300cc | 13-Nov-2024 |
Luo Yifan <[email protected]> |
ynl: samples: Fix the wrong format specifier
Make a minor change to eliminate a static checker warning. The type of s->ifc is unsigned int, so the correct format specifier should be %u instead of %d
ynl: samples: Fix the wrong format specifier
Make a minor change to eliminate a static checker warning. The type of s->ifc is unsigned int, so the correct format specifier should be %u instead of %d.
Signed-off-by: Luo Yifan <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
show more ...
|
| 1d8617b2 | 05-Mar-2024 |
Jakub Kicinski <[email protected]> |
tools: ynl: add distclean to .PHONY in all makefiles
Donald points out most YNL makefiles are missing distclean in .PHONY, even tho generated/Makefile does list it.
Suggested-by: Donald Hunter <don
tools: ynl: add distclean to .PHONY in all makefiles
Donald points out most YNL makefiles are missing distclean in .PHONY, even tho generated/Makefile does list it.
Suggested-by: Donald Hunter <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Donald Hunter <[email protected]> Signed-off-by: David S. Miller <[email protected]>
show more ...
|
| 92900372 | 29-Nov-2023 |
Jakub Kicinski <[email protected]> |
tools: ynl: make sure we use local headers for page-pool
Building samples generates the following warning:
In file included from page-pool.c:11: generated/netdev-user.h:21:45: warning: ‘enum ne
tools: ynl: make sure we use local headers for page-pool
Building samples generates the following warning:
In file included from page-pool.c:11: generated/netdev-user.h:21:45: warning: ‘enum netdev_xdp_rx_metadata’ declared inside parameter list will not be visible outside of this definition or declaration 21 | const char *netdev_xdp_rx_metadata_str(enum netdev_xdp_rx_metadata value); | ^~~~~~~~~~~~~~~~~~~~~~
Our magic way of including uAPI headers assumes the sample name matches the family name. We need to copy the flags over.
Fixes: 637567e4a3ef ("tools: ynl: add sample for getting page-pool information") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
show more ...
|