git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb96712
)
staging: lustre: Cleaning up unnecessary use of memset in conjunction with strncpy
author
Rickard Strandqvist
<rickard_strandqvist@spectrumdigital.se>
Sun, 14 Sep 2014 16:03:16 +0000
(18:03 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 14 Sep 2014 17:05:11 +0000
(10:05 -0700)
Using memset before strncpy just to ensure a trailing null
character is an unnecessary double writing of a string
Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found