Re: [PATCH] hexdump: Make test data really const

From: Andrew Morton
Date: Mon Apr 20 2015 - 18:28:52 EST


On Thu, 16 Apr 2015 21:32:09 +0200 Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:

> lib/test-hexdump.c: In function ___test_hexdump___:
> lib/test-hexdump.c:74: warning: assignment discards qualifiers from pointer target type
>
> Make all test data "const char * const" and "__initconst", and the
> "result" variable "const char * const" to fix this.

Linus has already fixed the warning with 17974c054db303.

I think what remains of your patch makes sense, but we don't actually
have a changelog which explains why we're doing it.

Please cook up a fresh patch when convenient?
--
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/