[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131029191627.GB22261@mtj.dyndns.org>
Date: Tue, 29 Oct 2013 15:16:27 -0400
From: Tejun Heo <tj@...nel.org>
To: Levente Kurusa <levex@...ux.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Linux IDE/ATA Dev <linux-ide@...r.kernel.org>
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@...ux.com>
Applied to libata/for-3.13.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists