Re: [PATCH 0/3] tty: eliminate 64 byte stack buffers passed to tty_name

2015-04-03 Thread Peter Hurley
On 03/31/2015 09:55 AM, Rasmus Villemoes wrote: > All users of tty_name pass the return value directly to a printf > function, so we might as well use tty->name directly instead of > copying it to a user-supplied (stack) buffer. Reviewed-by: Peter Hurley -- To unsubscribe from this list: send th

[PATCH 0/3] tty: eliminate 64 byte stack buffers passed to tty_name

2015-03-31 Thread Rasmus Villemoes
All users of tty_name pass the return value directly to a printf function, so we might as well use tty->name directly instead of copying it to a user-supplied (stack) buffer. allmodconfig compile-tested only. Rasmus Villemoes (3): tty: constify return type of tty_name tty: return tty->name di