-
由 Jonathan Corbet 提交于
"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: NJonathan Corbet <corbet@lwn.net> LKML-Reference: <20091010153349.113570550@linutronix.de> Acked-by: NMark Gross <mgross@linux.intel.com> Reviewed-by: NFrederic Weisbecker <fweisbec@gmail.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
1a6deaea