https://github.com/torvalds/linux
Revision 178e485a0ebbfdb7165b4363d8fea2a07d650c0b authored by Bill Pemberton on 09 October 2012, 18:18:20 UTC, committed by Greg Kroah-Hartman on 17 October 2012, 21:10:10 UTC
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>
1 parent d7c4660
History
Tip revision: 178e485a0ebbfdb7165b4363d8fea2a07d650c0b authored by Bill Pemberton on 09 October 2012, 18:18:20 UTC
staging: dgrp: check return value of alloc_tty_driver
Tip revision: 178e485
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 221.8 KB
Makefile -rw-r--r-- 46.2 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top