lkml.org 
[lkml]   [2015]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] hexdump: Make test data really const
On Thu, 16 Apr 2015 21:32:09 +0200 Geert Uytterhoeven <geert@linux-m68k.org> 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?


\
 
 \ /
  Last update: 2015-04-21 01:01    [W:0.060 / U:3.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site