aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2023-02-14 13:50:30 +0000
committerStefan Schmidt <[email protected]>2023-02-18 15:35:10 +0000
commit648324c9b690bcda0ac6f6499370effc0336ee27 (patch)
tree82785cd19f719b8ff87be712485d3a26bd8cd10f /tools/testing/selftests/bpf/prog_tests/autoload.c
parentieee802154: at86rf230: switch to using gpiod API (diff)
downloadkernel-648324c9b690bcda0ac6f6499370effc0336ee27.tar.gz
kernel-648324c9b690bcda0ac6f6499370effc0336ee27.zip
ieee802154: Use netlink policies when relevant on scan parameters
Instead of open-coding scan parameters (page, channels, duration, etc), let's use the existing NLA_POLICY* macros. This help greatly reducing the error handling and clarifying the overall logic. Fixes: ed3557c947e1 ("ieee802154: Add support for user scanning requests") Suggested-by: Jakub Kicinski <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stefan Schmidt <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions