]> git.baikalelectronics.ru Git - kernel.git/commit
mISDN: Fix return values of the probe function
authorZheyu Ma <zheyuma97@gmail.com>
Mon, 18 Oct 2021 14:20:38 +0000 (14:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Oct 2021 12:09:28 +0000 (13:09 +0100)
commit0d1c0a199fa2e74d4451ed5db9bf163af37e7fad
tree2b640213d549a6c105a8fd1707eed36e64d1d885
parent46c0957e0bd01b1fbc9ad9ff3e5325c86cbeee9b
mISDN: Fix return values of the probe function

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>
drivers/isdn/hardware/mISDN/hfcpci.c