diff options
author | Jonathan Corbet <corbet@lwn.net> | 2009-08-06 13:35:44 -0600 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-10-14 15:31:10 +0200 |
commit | 1a6deaea3584fd7af1cad492b1fe0867060b45db (patch) | |
tree | 83e6f420efe2622c76fba4becd74dd9087cccf59 /net/ax25/af_ax25.c | |
parent | e6fe07a014c7a3466dcd1a387a9ac04d84c2703c (diff) |
pm_qos: clean up racy global "name" variable
"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: Jonathan Corbet <corbet@lwn.net>
LKML-Reference: <20091010153349.113570550@linutronix.de>
Acked-by: Mark Gross <mgross@linux.intel.com>
Reviewed-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'net/ax25/af_ax25.c')
0 files changed, 0 insertions, 0 deletions