diff options
author | Cyril Bur <cyril.bur@au1.ibm.com> | 2017-11-09 11:44:09 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-11-13 23:48:52 -0600 |
commit | a2f15d75c20f9a5912809094f52d532b5c7cff88 (patch) | |
tree | 20d18896fbff96a58d24d14cf17d13edf2132ea0 /include/npu2.h | |
parent | d0f06269ed3cd3e09a9b04c5f70cb3d53a77a689 (diff) | |
download | blackbird-skiboot-a2f15d75c20f9a5912809094f52d532b5c7cff88.tar.gz blackbird-skiboot-a2f15d75c20f9a5912809094f52d532b5c7cff88.zip |
core/pcie-slots: Fix coverity possible NULL dereference
Coverity has found a senario where there could be a NULL dereference,
it is likely that in practice we wouldn't hit this. Coverity does point
out that all other callers of pcie_slot_create() do check for the NULL
return, as such it makes sense to add a check.
Fixes: CID 173756
Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/npu2.h')
0 files changed, 0 insertions, 0 deletions