![]() Copying to local variable is actually not neccessary, if all we need to do is snprintf(). This also removes problem where devname could be missing zero termination. Reported-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Signed-off-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
00-INDEX | ||
asus-laptop.txt | ||
disk-shock-protection.txt | ||
dslm.c | ||
freefall.c | ||
laptop-mode.txt | ||
Makefile | ||
sony-laptop.txt | ||
sonypi.txt | ||
thinkpad-acpi.txt |