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:
6ce4eac
)
ata: libata-eh: Remove unnecessary snprintf arithmetic
author
Levente Kurusa
<levex@linux.com>
Tue, 29 Oct 2013 19:01:46 +0000
(20:01 +0100)
committer
Tejun Heo
<tj@kernel.org>
Fri, 22 Nov 2013 22:21:10 +0000
(17:21 -0500)
Remove an unnecessary arithmetic operation from a call to snprintf, because
the size parameter of snprintf includes the trailing null space.
Also, initialize the buffer on definition instead of a memset call.
Signed-off-by: Levente Kurusa <levex@linux.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
No differences found