Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Mon, 6 Mar 2017 11:32:52 +0100 | Subject | Re: [PATCH 2/2] m68k/bitops: Correct signature of test_bit() |
| |
On Tue, Jan 3, 2017 at 6:52 PM, Geert Uytterhoeven <geert@linux-m68k.org> wrote: > mm/filemap.c: In function ‘clear_bit_unlock_is_negative_byte’: > mm/filemap.c:933: warning: passing argument 2 of ‘test_bit’ discards qualifiers from pointer target type > > Make the bitmask pointed to by the "vaddr" parameter volatile to fix > this, like is done on other architectures. > > Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Applied, and queued for the second batch for 4.11.
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |