diff options
| author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2019-07-23 17:04:30 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-06 10:18:05 +0200 |
| commit | c697bfc26a4679e69f4ba9698468afbee3ea7bcd (patch) | |
| tree | 03e45827106f5d8da9cad98d6af95fb6161b6178 /tools/perf/scripts/python | |
| parent | dc8438815624470629d0dd881708f19983d2f7c6 (diff) | |
st21nfca_connectivity_event_received: null check the allocation
[ Upstream commit 9891d06836e67324c9e9c4675ed90fc8b8110034 ]
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
