aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorKangjie Lu <kjlu@umn.edu>2019-03-12 02:16:21 -0500
committerDavid S. Miller <davem@davemloft.net>2019-03-12 14:48:35 -0700
commit9f4d6358e11bbc7b839f9419636188e4151fb6e4 (patch)
treee225aeb50ba736874e70b2e73cea54d568f1eabc /scripts/gcc-plugins/cyc_complexity_plugin.c
parenteb32cfcdef2305dc0e44a65d42801315669bb27e (diff)
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 <kjlu@umn.edu> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions