From: Rasmus Villemoes Date: Tue, 31 Mar 2015 13:55:58 +0000 (+0200) Subject: tty: return tty->name directly from tty_name X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2^2~140 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=917162c936936a37c51265b3add3885a15e66a82;p=pandora-kernel.git tty: return tty->name directly from tty_name All users of tty_name pass the return value (the provided buffer) to some printf-like function. We can thus avoid the strcpy and, more importantly, later remove the buf parameter completely, eliminating the need for some 64 byte stack buffers. Signed-off-by: Rasmus Villemoes Reviewed-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed