summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPierre-Clément Tosi <[email protected]>2022-05-19 17:48:30 +0100
committerTom Rini <[email protected]>2022-06-06 18:01:21 -0400
commitf2ebaaa9f38dddddefaf2e616a9fc489fe8b4021 (patch)
tree87f5365d88bfa8a2df2768a90163b4fb0817e447 /include/linux
parent26f981f295d00351b6f0c69b5317b254b2361cc0 (diff)
pci: Handle failed calloc in decode_regions()
Add a check for calloc() failing to allocate the requested memory. Make decode_regions() return an error code. Cc: Bin Meng <[email protected]> Cc: Simon Glass <[email protected]> Cc: Stefan Roese <[email protected]> Signed-off-by: Pierre-Clément Tosi <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions