]> git.karo-electronics.de Git - mv-sheeva.git/commit
tty: Remove __GFP_NOFAIL from tty_add_file()
authorPekka Enberg <penberg@kernel.org>
Tue, 24 Aug 2010 04:48:34 +0000 (07:48 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:19:58 +0000 (10:19 -0700)
commitf573bd1764f0f3f47754ca1ae7b2eb2909798a60
treebfc4c03b38bc74bb29dbacce212fe2efc802eb46
parent8a28af7f7e42cd0f107e0d84e4ece89e7ef24d3f
tty: Remove __GFP_NOFAIL from tty_add_file()

This patch removes __GFP_NOFAIL use from tty_add_file() and adds proper error
handling to the call-sites of the function.

Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/pty.c
drivers/char/tty_io.c
include/linux/tty.h