aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2021-09-17 11:46:19 +0000
committerGreg Kroah-Hartman <[email protected]>2021-09-27 15:38:49 +0000
commitcd20d59291d1790dc74248476e928f57fc455189 (patch)
tree14f18b1deff58dccf2ffb91c8fc28a906a3cc29c /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parentipack: ipoctal: fix tty registration race (diff)
downloadkernel-cd20d59291d1790dc74248476e928f57fc455189.tar.gz
kernel-cd20d59291d1790dc74248476e928f57fc455189.zip
ipack: ipoctal: fix tty-registration error handling
Registration of the ipoctal tty devices is unlikely to fail, but if it ever does, make sure not to deregister a never registered tty device (and dereference a NULL pointer) when the driver is later unbound. Fixes: 2afb41d9d30d ("Staging: ipack/devices/ipoctal: Check tty_register_device return value.") Cc: [email protected] # 3.7 Acked-by: Samuel Iglesias Gonsalvez <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions