aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2023-02-14 14:50:34 +0100
committerStefan Schmidt <[email protected]>2023-02-18 16:47:26 +0100
commit61d7dddf46caa1c6dd869385a275e4d2931e7090 (patch)
treeebefb095c6ef91e7033024bdee9ea248e969bef1 /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parent1375e3ba9d773f2dbac96ebddfdd0d160276ca40 (diff)
mac802154: Fix an always true condition
At this stage we simply do not care about the delayed work value, because active scan is not yet supported, so we can blindly queue another work once a beacon has been sent. It fixes a smatch warning: mac802154_beacon_worker() warn: always true condition '(local->beacon_interval >= 0) => (0-u32max >= 0)' Fixes: 3accf4762734 ("mac802154: Handle basic beaconing") Reported-by: kernel test robot <[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/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions