Re: [RESEND][PATCH] sparc: use %s for unaligned panic

From: David Miller
Date: Tue Jul 22 2014 - 00:38:42 EST


From: Kees Cook <keescook@xxxxxxxxxxxx>
Date: Mon, 30 Jun 2014 13:37:59 -0700

> Since unaligned_panic() takes a literal string, make sure it can never
> accidentally be used as a format string.
>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>

Unnecessary, but harmless, so applied to sparc-next, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/