Home
last modified time | relevance | path

Searched hist:"462098 b090897fbcf00088b225eb7a3adc407e98" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/ata/
H A Dlibata-eh.cdiff 462098b090897fbcf00088b225eb7a3adc407e98 Tue Oct 29 14:01:46 CDT 2013 Levente Kurusa <levex@linux.com> ata: libata-eh: Remove unnecessary snprintf arithmetic

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>