]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
MIPS: constify address pointer in test_bit()
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sat, 8 Dec 2012 20:33:44 +0000 (21:33 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sat, 8 Dec 2012 20:48:19 +0000 (21:48 +0100)
commitea40a05422bdc87a7af5dc349e8adce59f982e72
tree536d8598c85fe0ffa525baea568374e6248ee729
parent0d69d918abff1437c78610dac8b18e8f91917674
MIPS: constify address pointer in test_bit()

Fix several warnings when enabling UBIFS on MIPS:

In file included from ubifs.h:2137:0,
                 from ubifs.c:26:
misc.h: In function 'ubifs_zn_dirty':
misc.h:38:2: warning: passing argument 2 of 'test_bit' discards 'const' qualifier from pointer target type [enabled by default]
../include/asm/bitops.h:569:23: note: expected 'volatile void *' but argument is of type 'const long unsigned int *'

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/include/asm/bitops.h