aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-03-05 08:25:23 -0300
committerHeiko Carstens <[email protected]>2024-03-13 09:23:49 +0100
commitc8fba0c11f180418c9e4e89353c7f29d7c9e1915 (patch)
tree0fbf0b9913d9e89cb577d7d8171f30212f373940 /tools/testing/selftests/bpf/progs/test_autoload.c
parent520776557baae85f671a5cc324c27e3226f5ef81 (diff)
s390/raw3270: improve raw3270_init() readability
Instead of checking if rc is 0, check whether it is non-zero and return early if so. The call to class_create() can fail, so add a check to it and move it out of the mutex region. Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: "Ricardo B. Marliere" <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions