diff options
author | Taeung Song <treeze.taeung@gmail.com> | 2018-07-04 16:36:37 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-07-05 10:58:52 +0300 |
commit | 492b7e894587c151be681f86d4d1d086375f7b45 (patch) | |
tree | 20f39b54a83769caa0867f5898ef4521b21d16d5 /crypto/ghash-generic.c | |
parent | 4d5d33a085335ef469c9a87792bcaaaa8e64d8c4 (diff) | |
download | linux-492b7e894587c151be681f86d4d1d086375f7b45.tar.xz |
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 <qinteng@fb.com>
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'crypto/ghash-generic.c')
0 files changed, 0 insertions, 0 deletions