linux/drivers/isdn
Pan Bian 9a53682b34 isdn: hisax: set error code on failure
In function hfc4s8s_probe(), the value of return variable err should be
negative on failures. However, when the call to request_region() returns
NULL, the value of err is 0. This patch fixes the bug, assigning
"-EBUSY" to err on the path that request_region() fails.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188931

Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-05 15:03:42 -05:00
..
capi isdn/capi: Use setup_timer 2015-05-31 21:36:37 -07:00
divert
gigaset ser_gigaset: use container_of() instead of detour 2016-02-19 15:52:41 -05:00
hardware mISDN: mark symbols static where possible 2016-09-01 23:36:17 -07:00
hisax isdn: hisax: set error code on failure 2016-12-05 15:03:42 -05:00
hysdn treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
i4l TTY and Serial driver update for 4.7-rc1 2016-05-20 20:57:27 -07:00
isdnloop
mISDN mISDN: Fixing missing validation in base_sock_bind() 2016-04-13 23:00:50 -04:00
Kconfig
Makefile isdn: i4l: move active-isdn drivers to staging 2016-03-05 15:00:38 -08:00