aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2018-01-16 23:44:46 +0100
committerLinus Walleij <[email protected]>2018-01-17 07:44:16 +0100
commit605f2d34ea52a14744fe3c6b43708bce7e2eb690 (patch)
tree3729b7d397a1f7d6902d5f5af70fb3d6727d0303 /net/unix/sysctl_net_unix.c
parent0f7192318bd81b5bfa6b0f12d71f0f00c67acb78 (diff)
gpio: of: Fix NPE from OF flags
Some calls to of_get_named_gpio() calls sets the flags argument to NULL because they are not interested in the flags. This caused a null pointer exception since we were unconditionally using these flags. Fix it. Fixes: 6a537d48461d ("gpio: of: Support regulator nonstandard GPIO properties") Cc: Heiner Kallweit <[email protected]> Reported-by: Heiner Kallweit <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions