aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2012-10-15 18:20:52 +0200
committerGreg Kroah-Hartman <[email protected]>2012-10-16 10:25:54 -0700
commit7bdce71822f471433dd3014692e9096996c7b5f0 (patch)
treed9de48ccd413b2a87e4201dc2f2ee3cb55c14299 /net/lapb/lapb_iface.c
parent8282da478966975a5efff3eeb650a49fe67fa14e (diff)
USB: ark3116: fix NULL-pointer dereference
Fix NULL-pointer dereference at release by replacing attach and release with port_probe and port_remove. Since commit 0998d0631001288 (device-core: Ensure drvdata = NULL when no driver is bound) the port private data is NULL when release is called. Compile-only tested. Cc: <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions