aboutsummaryrefslogtreecommitdiff
path: root/fs/nfsd/xdr3.h
diff options
context:
space:
mode:
authorAxel Lin2014-12-20 22:47:07 +0800
committerLinus Walleij2015-01-08 20:14:00 +0100
commit879828c6ade916d13a5187eb02546899c2cd496c (patch)
tree70712e3645f4c0ee39ca4bb9642ca47b7e4f5d66 /fs/nfsd/xdr3.h
parent5afb287a06ce869827563cbd2b0a035800dd6f5d (diff)
gpio: grgpio: Avoid potential NULL pointer dereference
irqmap is optional property, so priv->domain can be NULL if !irqmap. Thus add NULL test for priv->domain before calling irq_domain_remove() to prevent NULL pointer dereference. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'fs/nfsd/xdr3.h')
0 files changed, 0 insertions, 0 deletions