linux/drivers/nfc
Christophe Ricard 459e794b9b NFC: st21nfca: ERR_PTR vs NULL fix
"skb" can be NULL here but it can't be an ERR_PTR:
- IS_ERR(NULL) return false and skb migth be NULL.
- skb cannot be a ERR_PTR as nfc_hci_send_cmd_async it never using such cast.

!skb is more appropriate at those places.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2014-09-24 02:02:24 +02:00
..
microread nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
nfcmrvl NFC: nfcmrvl: Fix possible memory leak issue 2014-01-09 01:27:20 +01:00
pn544 NFC: pn544_i2c: Fix null pointer exception when not using platform data 2014-04-22 00:37:29 +02:00
st21nfca NFC: st21nfca: ERR_PTR vs NULL fix 2014-09-24 02:02:24 +02:00
st21nfcb NFC: st21nfcb: remove error output 2014-09-24 02:02:24 +02:00
Kconfig NFC: st21nfcb: Add driver for STMicroelectronics ST21NFCB NFC chip 2014-07-23 00:49:28 +02:00
Makefile NFC: st21nfcb: Add driver for STMicroelectronics ST21NFCB NFC chip 2014-07-23 00:49:28 +02:00
mei_phy.c NFC: mei_phy: Using kfree_skb() instead of kfree() 2014-01-04 03:32:26 +01:00
mei_phy.h NFC: mei: Add a common mei bus API for NFC drivers 2013-04-16 00:39:31 +02:00
nfcsim.c NFC: Convert nfc_dev_info and nfc_dev_err to nfc_<level> 2013-09-25 01:35:39 +02:00
nfcwilink.c nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
pn533.c NFC: pn533: Convert to use USB_DEVICE macro 2014-02-23 23:32:18 +01:00
port100.c NFC: port100: Add support for type 4B tag 2014-05-26 00:42:02 +02:00
trf7970a.c NFC: trf7970a: Unlock mutex before exiting _trf7970a_tg_listen() 2014-09-24 00:28:23 +02:00