WSL2-Linux-Kernel/Documentation/laptops
Stefan Weil 6e641c943f Documentation: Fix size parameter for snprintf
cppcheck reports this error:

Documentation/laptops/hpfall.c:33]: (error)
 Dangerous usage of 'devname' (strncpy doesn't always 0-terminate it)

The terminating '\0' is needed for the global char array unload_heads_path,
so never write the last array entry (which is initially '\0').

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2014-01-02 10:47:33 +01:00
..
00-INDEX
Makefile
asus-laptop.txt ACPI: Remove the old /proc/acpi/event interface 2013-07-15 13:56:36 +02:00
disk-shock-protection.txt
dslm.c doc: fix misspellings with 'codespell' tool 2013-05-28 12:02:12 +02:00
hpfall.c Documentation: Fix size parameter for snprintf 2014-01-02 10:47:33 +01:00
laptop-mode.txt Documentation: fix the VM knobs descritpion WRT pdflush 2012-08-04 12:15:09 +04:00
sony-laptop.txt ACPI: Remove the old /proc/acpi/event interface 2013-07-15 13:56:36 +02:00
sonypi.txt Documentation: remove references to /etc/modprobe.conf 2012-03-30 16:03:15 -07:00
thinkpad-acpi.txt thinkpad-acpi: Add mute and mic-mute LED functionality 2013-10-17 14:38:44 +02:00