android_kernel_xiaomi_sm7250/drivers/nfc/st-nci
Navid Emamdoost c5cb10632c st_nci_hci_connectivity_event_received: null check the allocation
[ Upstream commit 3008e06fdf0973770370f97d5f1fba3701d8281d ]

devm_kzalloc may fail and return NULL. So the null check is needed.

Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-08-29 08:28:31 +02:00
..
core.c NFC: st-nci: Add ese-present/uicc-present dts properties 2015-10-27 03:55:10 +01:00
i2c.c nfc: st-nci: constify i2c_device_id 2017-11-06 00:56:56 +01:00
Kconfig treewide: Fix typos in Kconfig 2017-10-12 15:42:00 +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
ndlc.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
ndlc.h NFC: st-nci: Add ese-present/uicc-present dts properties 2015-10-27 03:55:10 +01:00
se.c st_nci_hci_connectivity_event_received: null check the allocation 2019-08-29 08:28:31 +02:00
spi.c NFC: st-nci: Get rid of code duplication in ->probe() 2017-06-22 23:51:45 +02:00
st-nci.h nfc: st-nci: Move loopback usage from HCI to NCI 2016-05-04 01:51:42 +02:00
vendor_cmds.c nfc: st-nci: Move loopback usage from HCI to NCI 2016-05-04 01:51:42 +02:00