2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/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 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-03-12 16:04:50 -08:00
asus-laptop.txt ACPI: Remove the old /proc/acpi/event interface 2013-07-15 13:56:36 +02:00
disk-shock-protection.txt ata: Add documentation for hard disk shock protection interface (v3) 2008-10-13 21:39:50 +02:00
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
Makefile Documentation/laptop/: split txt and source files 2010-03-12 15:52:35 -08: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