Messages in this thread | | | Date | Tue, 29 Oct 2013 15:16:27 -0400 | From | Tejun Heo <> | Subject | Re: [PATCH trivial v2] ata: libata-eh: Remove unnecessary snprintf arithmetic |
| |
On Tue, Oct 29, 2013 at 08:01:46PM +0100, Levente Kurusa wrote: > 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>
Applied to libata/for-3.13.
Thanks.
-- tejun
| |