kernel-ark/drivers/net/wan
Pavel Shved d0fd64c1de farsync: add module_put to error path in fst_open()
The fst_open() function, after a successful try_module_get() may return
an error code if hdlc_open() returns it.  However, it does not put the
module on this error path.

This patch adds the necessary module_put() call.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Pavel Shved <shved@ispras.ru>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
2011-06-17 15:27:32 -04:00
..
lmc Fix common misspellings 2011-03-31 11:26:23 -03:00
.gitignore
c101.c
cosa.c Fix common misspellings 2011-03-31 11:26:23 -03:00
cosa.h
cycx_drv.c
cycx_main.c
cycx_x25.c
dlci.c net: call dev_alloc_name from register_netdevice 2011-05-05 10:57:45 -07:00
dscc4.c Fix common misspellings 2011-03-31 11:26:23 -03:00
farsync.c farsync: add module_put to error path in fst_open() 2011-06-17 15:27:32 -04:00
farsync.h
hd64570.c
hd64570.h
hd64572.c
hd64572.h
hdlc_cisco.c
hdlc_fr.c net: call dev_alloc_name from register_netdevice 2011-05-05 10:57:45 -07:00
hdlc_ppp.c
hdlc_raw_eth.c
hdlc_raw.c
hdlc_x25.c
hdlc.c
hostess_sv11.c Fix common misspellings 2011-03-31 11:26:23 -03:00
ixp4xx_hss.c Fix common misspellings 2011-03-31 11:26:23 -03:00
Kconfig
lapbether.c net: call dev_alloc_name from register_netdevice 2011-05-05 10:57:45 -07:00
Makefile
n2.c
pc300_drv.c Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2011-05-26 13:19:00 -07:00
pc300_tty.c tiocmset: kill the file pointer argument 2011-02-17 11:52:43 -08:00
pc300-falc-lh.h
pc300.h
pc300too.c
pci200syn.c
sbni.c
sbni.h
sdla.c
sealevel.c
wanxl.c
wanxl.h
wanxlfw.inc_shipped
wanxlfw.S
x25_asy.c Revert "tty: make receive_buf() return the amout of bytes received" 2011-06-04 06:33:24 +09:00
x25_asy.h
z85230.c Fix common misspellings 2011-03-31 11:26:23 -03:00
z85230.h