linux_dsm_epyc7002/drivers/nfc/nfcmrvl
Dan Carpenter ca42fb9e52 NFC: nfcmrvl: double free on error path
The nci_spi_send() function calls kfree_skb(skb) on both error and
success so this extra kfree_skb() is a double free.

Fixes: caf6e49bf6 ("NFC: nfcmrvl: add spi driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2017-04-02 00:09:17 +02:00
..
fw_dnld.c NFC: nfcmrvl: Include unaligned.h instead of access_ok.h 2017-04-01 23:45:31 +02:00
fw_dnld.h NFC: nfcmrvl: add firmware download support 2015-10-27 04:18:44 +01:00
i2c.c NFC: nfcmrvl: update device tree bindings for Marvell NFC 2015-10-27 04:24:54 +01:00
Kconfig NFC: nfcmrvl: fix SPI driver dependencies 2015-11-05 00:32:25 +01:00
main.c NFC: nfcmrvl: remove unneeded CONFIG_OF switches 2015-11-05 00:32:25 +01:00
Makefile NFC: nfcmrvl: add spi driver 2015-10-27 04:24:35 +01:00
nfcmrvl.h NFC: nfcmrvl: add i2c driver 2015-10-27 04:21:14 +01:00
spi.c NFC: nfcmrvl: double free on error path 2017-04-02 00:09:17 +02:00
uart.c NFC: nfcmrvl: remove unneeded CONFIG_OF switches 2015-11-05 00:32:25 +01:00
usb.c NFC: nfcmrvl: configure head/tail room values per low level drivers 2015-10-27 04:19:44 +01:00