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:20 +0000
committerGreg Kroah-Hartman <[email protected]>2021-09-27 15:38:49 +0000
commit445c8132727728dc297492a7d9fc074af3e94ba3 (patch)
treeb0f1cfb50ae42f2569fcce6097772d5a45d383eb /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parentipack: ipoctal: fix tty-registration error handling (diff)
downloadkernel-445c8132727728dc297492a7d9fc074af3e94ba3.tar.gz
kernel-445c8132727728dc297492a7d9fc074af3e94ba3.zip
ipack: ipoctal: fix missing allocation-failure check
Add the missing error handling when allocating the transmit buffer to avoid dereferencing a NULL pointer in write() should the allocation ever fail. Fixes: ba4dc61fe8c5 ("Staging: ipack: add support for IP-OCTAL mezzanine board") Cc: [email protected] # 3.5 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