OpenCloudOS-Kernel/drivers/net/wireless/orinoco
Dan Carpenter 48d5548fc5 orinoco_usb: potential null dereference
Smatch complains that "upriv->read_urb" gets dereferenced before
checking for NULL.  It turns out that it's possible for
"upriv->read_urb" to be NULL so I added checks around the dereferences.

Also I remove an "if (upriv->bap_buf != NULL)" check because
"kfree(NULL) is OK.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-07-16 14:03:42 -04:00
..
Kconfig orinoco: add orinoco_usb driver 2010-05-03 14:53:08 -04:00
Makefile orinoco: add orinoco_usb driver 2010-05-03 14:53:08 -04:00
airport.c orinoco: encapsulate driver locking 2010-05-03 14:53:07 -04:00
cfg.c cfg80211/mac80211: better channel handling 2010-05-07 14:55:50 -04:00
cfg.h
fw.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-05-05 16:14:16 -04:00
fw.h
hermes.c orinoco_usb: implement fw download 2010-05-03 14:53:09 -04:00
hermes.h orinoco_usb: implement fw download 2010-05-03 14:53:09 -04:00
hermes_dld.c wireless: fix several minor description typos 2010-06-02 16:13:18 -04:00
hermes_dld.h
hermes_rid.h
hw.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-05-05 16:14:16 -04:00
hw.h net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
main.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
main.h orinoco: use cfg80211_find_ie 2010-04-19 16:41:42 -04:00
mic.c
mic.h
orinoco.h orinoco: refactor xmit path 2010-05-07 14:55:49 -04:00
orinoco_cs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-05-20 21:04:44 -07:00
orinoco_nortel.c orinoco: allow driver to specify netdev_ops 2010-05-03 14:53:06 -04:00
orinoco_pci.c orinoco: allow driver to specify netdev_ops 2010-05-03 14:53:06 -04:00
orinoco_pci.h
orinoco_plx.c orinoco: allow driver to specify netdev_ops 2010-05-03 14:53:06 -04:00
orinoco_tmd.c orinoco: allow driver to specify netdev_ops 2010-05-03 14:53:06 -04:00
orinoco_usb.c orinoco_usb: potential null dereference 2010-07-16 14:03:42 -04:00
scan.c Merge branch 'master' into for-davem 2010-04-23 14:43:45 -04:00
scan.h
spectrum_cs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-05-20 21:04:44 -07:00
wext.c drivers/net/wireless/orinoco: Use kmemdup 2010-06-02 16:13:13 -04:00
wext.h