Skip to content
Snippets Groups Projects
user avatar
Jonathan Corbet authored
"name" is a poor name for a file-global variable.  It was used in three
different functions, with no mutual exclusion.  But it's just a tiny,
temporary string; let's just move it onto the stack in the functions that
need it.  Also use snprintf() just in case.

Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
LKML-Reference: <20091010153349.113570550@linutronix.de>
Acked-by: default avatarMark Gross <mgross@linux.intel.com>
Reviewed-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
1a6deaea
History
Name Last commit Last update