diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-05-30 17:38:43 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-13 19:50:15 +0200 |
commit | a2f0185fc376748981d9082df21d87c1c76c53b3 (patch) | |
tree | 65a4626865a86765a4c3c2e81707322775b217c1 /drivers/nvmem | |
parent | 35900a9e6a26261ad5f998ea5676f09faa5b7d7a (diff) |
net: freescale: fix potential null pointer dereference
[ Upstream commit 06d2d6431bc8d41ef5ffd8bd4b52cea9f72aed22 ]
Add NULL check before dereferencing pointer _id_ in order to avoid
a potential NULL pointer dereference.
Addresses-Coverity-ID: 1397995
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem')
0 files changed, 0 insertions, 0 deletions