kernel-fxtec-pro1x/drivers/nfc
Dan Carpenter b9ac81058b NFC: fdp: Fix a signedness bug in fdp_nci_send_patch()
[ Upstream commit 0dcdf9f64028ec3b75db6b691560f8286f3898bf ]

The nci_conn_max_data_pkt_payload_size() function sometimes returns
-EPROTO so "max_size" needs to be signed for the error handling to
work.  We can make "payload_size" an int as well.

Fixes: a06347c04c ("NFC: Add Intel Fields Peak NFC solution driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-02 15:28:12 +02:00
..
fdp NFC: fdp: Fix a signedness bug in fdp_nci_send_patch() 2020-04-02 15:28:12 +02:00
microread nfc: microread: constify i2c_device_id 2017-11-06 00:56:55 +01:00
nfcmrvl NFC: nfcmrvl: fix gpio-handling regression 2019-08-09 17:52:33 +02:00
nxp-nci NFC: nxp-nci: Fix NULL pointer dereference after I2C communication error 2019-12-13 08:51:03 +01:00
pn533 NFC: pn533: fix bulk-message timeout 2020-01-23 08:21:34 +01:00
pn544 nfc: pn544: Fix occasional HW initialization failure 2020-03-05 16:42:16 +01:00
s3fwrn5 nfc: s3fwrn5: make array match static const 2017-11-06 01:05:06 +01:00
st-nci st_nci_hci_connectivity_event_received: null check the allocation 2019-08-29 08:28:31 +02:00
st21nfca NFC: st21nfca: fix double free 2019-11-12 19:20:30 +01:00
st95hf spi: ST ST95HF NFC: declare missing of table 2019-05-16 19:41:25 +02:00
Kconfig NFC: trf7970a: Convert to descriptor based GPIO interface 2017-06-18 23:57:58 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mei_phy.c mei: bus: split RX and async notification callbacks 2016-11-17 16:37:49 +01:00
mei_phy.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nfcsim.c NFC: add NULL checks to avoid potential NULL pointer dereference 2017-06-23 00:34:56 +02:00
port100.c NFC: port100: Convert cpu_to_le16(le16_to_cpu(E1) + E2) to use le16_add_cpu(). 2020-02-24 08:34:40 +01:00
trf7970a.c NFC: trf7970a: Correct register settings for 27MHz clock 2017-06-28 09:16:54 +02:00