summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-06-13 11:10:35 (GMT)
committerSimon Glass <sjg@chromium.org>2017-07-11 16:08:20 (GMT)
commit99bb38e2cce9d99238458e0f6d1880c6d2e80a4d (patch)
treef155f75b8323132fa07b992cd3fc8ac89a87520b /drivers/scsi/scsi.c
parentf53dcc0e35b46f169432448d8db254b0d6776806 (diff)
downloadu-boot-fsl-qoriq-99bb38e2cce9d99238458e0f6d1880c6d2e80a4d.tar.xz
fdt: Check for NULL return from fdt_getprop in 'fdt set'
While the previous pass through fixed one place where we knew that fdt_getprop would be given a positive len, in the case of 'fdt set' we do not, so check that we did no get NULL from fdt_getprop(). Cc: Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 163249) Fixes 72c98ed1ab48 ("fdt: Add a check to do_fdt() for coverity") Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/scsi/scsi.c')
0 files changed, 0 insertions, 0 deletions