linux/drivers/nfc
Julia Lawall 5df848f37b NFC: pn533: fix error return code
Return a negative error code on failure.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
identifier ret; expression e1,e2;
@@
(
if (\(ret < 0\|ret != 0\))
 { ... return ret; }
|
ret = 0
)
... when != ret = e1
    when != &ret
*if(...)
{
  ... when != ret = e2
      when forall
 return ret;
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2015-04-06 01:22:17 +02:00
..
microread NFC: microread: Change event_received gate parameter to pipe 2015-01-28 00:03:35 +01:00
nfcmrvl NFC: nfcmrvl: Fix possible memory leak issue 2014-01-09 01:27:20 +01:00
nxp-nci NFC: nxp-nci: Release firmware when switching to FW mode fails 2015-04-06 00:58:51 +02:00
pn544 NFC: Add ACPI support for NXP PN544 2015-01-28 01:09:08 +01:00
st21nfca nfc: st21nfca: Add additional comments about EVT_TRANSACTION 2015-04-06 00:21:10 +02:00
st21nfcb nfc: st21nfcb: Add additional comments about EVT_TRANSACTION 2015-04-06 00:19:22 +02:00
Kconfig NFC: nxp-nci: Add support for NXP NCI chips 2015-03-26 11:07:50 +01:00
Makefile NFC: nxp-nci: Add support for NXP NCI chips 2015-03-26 11:07:50 +01: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: drop owner assignment from platform_drivers 2014-10-20 16:21:19 +02:00
pn533.c NFC: pn533: fix error return code 2015-04-06 01:22:17 +02:00
port100.c NFC: port100: Add support for type 4B tag 2014-05-26 00:42:02 +02:00
trf7970a.c NFC / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM 2014-12-15 15:12:21 +01:00