diff options
| author | Taeung Song <[email protected]> | 2018-07-04 13:36:37 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2018-07-05 07:58:52 +0000 |
| commit | 492b7e894587c151be681f86d4d1d086375f7b45 (patch) | |
| tree | 20f39b54a83769caa0867f5898ef4521b21d16d5 /net/nsh/nsh.c | |
| parent | samples/bpf: add missing <linux/if_vlan.h> (diff) | |
| download | kernel-492b7e894587c151be681f86d4d1d086375f7b45.tar.gz kernel-492b7e894587c151be681f86d4d1d086375f7b45.zip | |
samples/bpf: Check the result of system()
To avoid the below build warning message,
use new generate_load() checking the return value.
ignoring return value of ‘system’, declared with attribute warn_unused_result
And it also refactors the duplicate code of both
test_perf_event_all_cpu() and test_perf_event_task()
Cc: Teng Qin <[email protected]>
Signed-off-by: Taeung Song <[email protected]>
Acked-by: David S. Miller <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions
