summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2013-12-30 12:35:43 +0100
committerJiri Kosina <jkosina@suse.cz>2014-01-02 10:47:33 +0100
commit6e641c943fd5355592b7b955fe3d0f07c927a0aa (patch)
tree8fe4e4ad8ffb5ea7b0dde6973014308b93d2df9b /arch/arm
parente0ea041478e03e99f45fa83734c009198a7e3764 (diff)
downloadlinux-stable-6e641c943fd5355592b7b955fe3d0f07c927a0aa.tar.gz
linux-stable-6e641c943fd5355592b7b955fe3d0f07c927a0aa.tar.bz2
linux-stable-6e641c943fd5355592b7b955fe3d0f07c927a0aa.zip
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>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions