aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorKangjie Lu <[email protected]>2019-03-12 07:16:21 +0000
committerDavid S. Miller <[email protected]>2019-03-12 21:48:35 +0000
commit9f4d6358e11bbc7b839f9419636188e4151fb6e4 (patch)
treee225aeb50ba736874e70b2e73cea54d568f1eabc /drivers/fpga/fpga-mgr.c
parentnet: qlogic: fix a potential NULL pointer dereference (diff)
downloadkernel-9f4d6358e11bbc7b839f9419636188e4151fb6e4.tar.gz
kernel-9f4d6358e11bbc7b839f9419636188e4151fb6e4.zip
net: fujitsu: fix a potential NULL pointer dereference
In case ioremap fails, the fix releases the pcmcia window and returns -ENOMEM to avoid the NULL pointer dereference. Signed-off-by: Kangjie Lu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions