diff options
author | Joe Damato <jdamato@fastly.com> | 2024-12-04 16:32:39 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-06 17:42:15 -0800 |
commit | 48697bdfb65d21bab8c686830b04bf2e47b96d52 (patch) | |
tree | 34e8189f44697f557643d37e5850b80b030209aa /rust/helpers/workqueue.c | |
parent | 6c36b5c244d6cb22ef8ea2f6b5da46f5171b37a5 (diff) |
selftests: net: cleanup busy_poller.c
Fix various integer type conversions by using strtoull and a temporary
variable which is bounds checked before being casted into the
appropriate cfg_* variable for use by the test program.
While here:
- free the strdup'd cfg string for overall hygenie.
- initialize napi_id = 0 in setup_queue to avoid warnings on some
compilers.
Signed-off-by: Joe Damato <jdamato@fastly.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20241204163239.294123-1-jdamato@fastly.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions