[lkml]   [2005]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] lib stringc cleanup restore useful memmove const
On 10/25/05, Paul Jackson <> wrote:
> A couple of (char *) casts removed in a previous cleanup patch
> in lib/string.c:memmove() were actually useful, as they
> suppressed a couple of warnings:
Hmm, you are right, I shouldn't have missed that, my bad.

> assignment discards qualifiers from pointer target type
> Fix by declaring the local variable const in the first place,
> so casts aren't needed to strip the const qualifier.
Looks good to me, thank you for fixing that up.

> Signed-off-by: Paul Jackson <>
Signed-off-by: Jesper Juhl <>

Jesper Juhl <>
Don't top-post
Plain text mails only, please
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-10-25 19:50    [W:0.033 / U:3.796 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site