aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorMartin Kaiser <[email protected]>2022-11-26 16:42:52 +0100
committerGreg Kroah-Hartman <[email protected]>2022-12-05 13:26:13 +0100
commit92f1bb5ff104d7f36754f27c17483d4e8ffe85ae (patch)
treea56bdf420f7533c2588be3c40f48be3486efa5e7 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent77833c305dc897c094e5c5419c27568509346609 (diff)
staging: r8188eu: simplify the checks for zero address
In function ap2sta_data_frame, we can use is_zero_ether_addr to check for all-zero ethernet addresses. Both pattrib->bssid and mybssid are 16-bit aligned. Tested-by: Philipp Hortmann <[email protected]> # Edimax N150 Signed-off-by: Martin Kaiser <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions