aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorPeter Griffin <[email protected]>2014-08-15 13:40:09 +0100
committerKishon Vijay Abraham I <[email protected]>2014-09-24 15:18:31 +0530
commit1f8de849cf8399ff287bab560d04df4515ec73c0 (patch)
tree8400cf883a301832560187933eade98faa8a1e58 /include/linux/fpga/fpga-mgr.h
parent437a6bc478e6530efad9aeb04b84b2f5c4e356d5 (diff)
phy: phy-mvebu-sata: Add missing error check for devm_kzalloc
Currently this driver is missing a check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. This patch adds the aformentioned missing check. Signed-off-by: Peter Griffin <[email protected]> Acked-by: Andrew Lunn <[email protected]> Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions