aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/seccomp
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-01-14 14:51:33 +0100
committerShuah Khan <shuah@kernel.org>2019-01-16 15:02:57 -0700
commit508cacd7da6659ae7b7bdd0a335f675422277758 (patch)
tree8171cf2aade696312fea07ef6ab5c61a323df4cf /tools/testing/selftests/seccomp
parentselftests: seccomp: use LDLIBS instead of LDFLAGS (diff)
downloadwireguard-linux-508cacd7da6659ae7b7bdd0a335f675422277758.tar.xz
wireguard-linux-508cacd7da6659ae7b7bdd0a335f675422277758.zip
selftests: gpio-mockup-chardev: Check asprintf() for error
With gcc 7.3.0: gpio-mockup-chardev.c: In function ‘get_debugfs’: gpio-mockup-chardev.c:62:3: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(path, "%s/gpio", mnt_fs_get_target(fs)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Handle asprintf() failures to fix this. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Shuah Khan <shuah@kernel.org>
Diffstat (limited to 'tools/testing/selftests/seccomp')
0 files changed, 0 insertions, 0 deletions