diff options
author | 2020-04-27 13:22:20 +0000 | |
---|---|---|
committer | 2020-05-13 15:33:43 -0700 | |
commit | 9ef391bdc29f0570c2be578210e220d15ea7a453 (patch) | |
tree | 38587d12142b8c3b50e475bb019a38db63d4111b /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | sparc64: Replace zero-length array with flexible-array (diff) | |
download | wireguard-linux-9ef391bdc29f0570c2be578210e220d15ea7a453.tar.xz wireguard-linux-9ef391bdc29f0570c2be578210e220d15ea7a453.zip |
tty: vcc: Fix error return code in vcc_probe()
Fix to return negative error code -ENOMEM from the error handling
case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions