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:
fe5c873
)
parisc: pdc_stable.c: Cleaning up unnecessary use of memset in conjunction with strncpy
author
Rickard Strandqvist
<rickard_strandqvist@spectrumdigital.se>
Sun, 14 Sep 2014 16:02:12 +0000
(18:02 +0200)
committer
Helge Deller
<deller@gmx.de>
Sun, 21 Sep 2014 19:07:48 +0000
(21:07 +0200)
Using memset before strncpy just to ensure a trailing null character is
an unnecessary double writing of a string
Patch modified by Helge Deller to additionally reduce stack usage.
Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Helge Deller <deller@gmx.de>
No differences found