Commit 9c1ee9387c0ce06d573e2d27de10cbc24179941e
Committed by
Linus Torvalds
1 parent
df28f34bf9
Exists in
master
and in
7 other branches
[PATCH] m68knommu: change addr arg to const in bitops.h/find_next_zero_bit()
Change addr arg to find_next_zero_bit to be a const. Cleans up compiler warning. Signed-off-by: Greg Ungerer <gerg@uclinux.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
include/asm-m68knommu/bitops.h
... | ... | @@ -259,7 +259,7 @@ |
259 | 259 | #define find_first_bit(addr, size) \ |
260 | 260 | find_next_bit((addr), (size), 0) |
261 | 261 | |
262 | -static __inline__ int find_next_zero_bit (void * addr, int size, int offset) | |
262 | +static __inline__ int find_next_zero_bit (const void * addr, int size, int offset) | |
263 | 263 | { |
264 | 264 | unsigned long *p = ((unsigned long *) addr) + (offset >> 5); |
265 | 265 | unsigned long result = offset & ~31UL; |