diff options
author | Paul Jackson <pj@sgi.com> | 2005-10-31 00:03:19 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-31 02:37:27 +0100 |
commit | 82da2c372712c772134d01317aa2517c923a74f8 (patch) | |
tree | 89e30cd1d0191acc1fa1a03658226bdaa126a077 /lib/Kconfig.debug | |
parent | [PATCH] Error checks omitted in init_tmpfs() in mm/tiny-shmem.c (diff) | |
download | linux-82da2c372712c772134d01317aa2517c923a74f8.tar.xz linux-82da2c372712c772134d01317aa2517c923a74f8.zip |
[PATCH] lib/string.c cleanup: restore useful memmove const
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:
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.
Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions