linux-hardened/drivers/nfc
Hans de Goede ecc443c03f NFC: pn533: Fix wrong GFP flag usage
pn533_recv_response() is an urb completion handler, so it must use
GFP_ATOMIC. pn533_usb_send_frame() OTOH runs from a regular sleeping
context, so the pn533_submit_urb_for_response() there (and only there)
can use the regular GFP_KERNEL flags.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1514134
Fixes: 9815c7cf22 ("NFC: pn533: Separate physical layer from ...")
Cc: Michael Thalmeier <michael.thalmeier@hale.at>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-25 21:36:45 +08:00
..
fdp treewide: devm_kmalloc() -> devm_kmalloc_array() 2018-06-12 16:19:22 -07:00
microread nfc: microread: constify i2c_device_id 2017-11-06 00:56:55 +01:00
nfcmrvl treewide: setup_timer() -> timer_setup() (2 field) 2017-11-21 15:57:09 -08:00
nxp-nci nfc: nxp-nci: constify i2c_device_id 2017-11-06 00:56:55 +01:00
pn533 NFC: pn533: Fix wrong GFP flag usage 2018-06-25 21:36:45 +08:00
pn544 nfc: pn544: constify i2c_device_id 2017-11-06 00:56:55 +01:00
s3fwrn5 nfc: s3fwrn5: make array match static const 2017-11-06 01:05:06 +01:00
st-nci treewide: setup_timer() -> timer_setup() (2 field) 2017-11-21 15:57:09 -08:00
st21nfca treewide: setup_timer() -> timer_setup() (2 field) 2017-11-21 15:57:09 -08:00
st95hf networking: add and use skb_put_u8() 2017-06-16 11:48:40 -04: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 networking: add and use skb_put_u8() 2017-06-16 11:48:40 -04:00
trf7970a.c NFC: trf7970a: Correct register settings for 27MHz clock 2017-06-28 09:16:54 +02:00