summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-10-09 20:18:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-17 23:10:10 +0200
commit178e485a0ebbfdb7165b4363d8fea2a07d650c0b (patch)
treeff94d339f1dac78e5ab4236cb0bd56ec85516dfa /net
parentstaging: dgrp: check for NULL pointer in (un)register_proc_table (diff)
downloadlinux-178e485a0ebbfdb7165b4363d8fea2a07d650c0b.tar.xz
linux-178e485a0ebbfdb7165b4363d8fea2a07d650c0b.zip
staging: dgrp: check return value of alloc_tty_driver
alloc_tty_driver was always assumed to succeed. Add code to check the return value and return -ENOMEM if alloc_tty_driver fails. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions