diff options
author | Jiapeng Chong <[email protected]> | 2022-03-22 14:21:49 +0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2022-04-01 22:27:07 +0200 |
commit | 11e17ae423778f48c84da6a2e215f140610e1973 (patch) | |
tree | 1324771b36f30a5fe5d111ff9beb868783aa6a0a /kernel/bpf/stackmap.c | |
parent | 38608ee7b6907830f157818d81f7b2393d49c808 (diff) |
bpf: Use swap() instead of open coding it
Clean the following coccicheck warning:
./kernel/trace/bpf_trace.c:2263:34-35: WARNING opportunity for swap().
./kernel/trace/bpf_trace.c:2264:40-41: WARNING opportunity for swap().
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions