diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-05-31 00:38:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-31 20:23:38 +0200 |
commit | 06d2d6431bc8d41ef5ffd8bd4b52cea9f72aed22 (patch) | |
tree | 0c1067f7aa7f91e6a787c0aded43742167b025be /drivers/edac/cpc925_edac.c | |
parent | net: fix auto-loading of Marvell DSA driver (diff) | |
download | linux-06d2d6431bc8d41ef5ffd8bd4b52cea9f72aed22.tar.xz linux-06d2d6431bc8d41ef5ffd8bd4b52cea9f72aed22.zip |
net: freescale: fix potential null pointer dereference
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>
Diffstat (limited to 'drivers/edac/cpc925_edac.c')
0 files changed, 0 insertions, 0 deletions