From f7dd911ee2c78b9fc856e88afae8edc101b25844 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Thu, 15 Jun 2017 22:15:31 +0200 Subject: kern/bitmap: make bitmap_lookup conform to coding rules Macros with lower case names must have a function-like interface. --- kern/bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/bitmap.c') diff --git a/kern/bitmap.c b/kern/bitmap.c index 0e13ef55..97e497d6 100644 --- a/kern/bitmap.c +++ b/kern/bitmap.c @@ -78,7 +78,7 @@ bitmap_find_next_bit(const unsigned long *bm, int nr_bits, int bit, end = bm + BITMAP_LONGS(nr_bits); if (bit >= LONG_BIT) { - bitmap_lookup(bm, bit); + bitmap_lookup(&bm, &bit); nr_bits -= ((bm - start) * LONG_BIT); } -- cgit v1.2.3