]> 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)
commit53d702573a056ee1a930a19241eb8de87b1312be
tree2b640213d549a6c105a8fd1707eed36e64d1d885
parentb4912f2b21416b91787961b22bdfaaeb5ee190e0
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