commit | ad01685177ce41afeab8c878405935c817487227 | [log] [tgz] |
---|---|---|
author | Zheyu Ma <zheyuma97@gmail.com> | Mon Oct 18 14:20:38 2021 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Nov 18 14:03:41 2021 +0100 |
tree | 22981af77053fa9ddb6f88d4222a8dcbfe83cb06 | |
parent | a6cb5e09e16a049ac7f5d44d5cde0f65c72bda83 [diff] |
mISDN: Fix return values of the probe function [ Upstream commit e211210098cb7490db2183d725f5c0f10463a704 ] During the process of driver probing, the probe function should return < 0 for failure, otherwise, the kernel will treat value > 0 as success. Signed-off-by: Zheyu Ma <zheyuma97@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>