Re: [PATCH 2/2] m68k/bitops: Correct signature of test_bit()

From: Geert Uytterhoeven
Date: Mon Mar 06 2017 - 05:44:27 EST


On Tue, Jan 3, 2017 at 6:52 PM, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxx

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