]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
m68k/bitops: Correct signature of test_bit()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 2 Jan 2017 12:51:43 +0000 (13:51 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 20 Mar 2017 10:25:15 +0000 (11:25 +0100)
commit066def56dc712329561abadcea15be9cad7393b6
tree3107d2b2b42699cc39e3507e01043a02c00df87c
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
m68k/bitops: Correct signature of test_bit()

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>
arch/m68k/include/asm/bitops.h