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 <le...@linux.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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/