diff options
author | Bo Liu <[email protected]> | 2022-09-19 22:03:12 -0400 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2022-10-02 12:55:38 +0200 |
commit | 0e01297212244b5a769aa956854e45da1f0cd1f4 (patch) | |
tree | dc6680b9c9d53bc965fca001d0529508c4eecc46 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | ec122fd94eeb87b2e906360efe7447362f83e9ae (diff) |
watchdog: Check dev_set_name() return value
It's possible that dev_set_name() returns -ENOMEM, catch and handle this.
Signed-off-by: Bo Liu <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions