diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-02-01 12:05:53 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-01 17:53:18 +0100 |
commit | ee13d785eac1fbe7e79ecca77bf7e902734a0b30 (patch) | |
tree | 9833d70a3d2cfe84a3259b93fc50af254aa0d1ce /mm | |
parent | [PATCH] mm/slab: add kernel-doc for one function (diff) | |
download | linux-ee13d785eac1fbe7e79ecca77bf7e902734a0b30.tar.xz linux-ee13d785eac1fbe7e79ecca77bf7e902734a0b30.zip |
[PATCH] slab: fix sparse warning
mm/slab.c:1522:13: error: incompatible types for operation (&)
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/slab.c b/mm/slab.c index afe9c5f8c57a..71370256a7eb 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -1571,8 +1571,8 @@ static void set_up_list3s(struct kmem_cache *cachep, int index) * high order pages for slabs. When the gfp() functions are more friendly * towards high-order requests, this should be changed. */ -static inline size_t calculate_slab_order(struct kmem_cache *cachep, size_t size, - size_t align, gfp_t flags) +static inline size_t calculate_slab_order(struct kmem_cache *cachep, + size_t size, size_t align, unsigned long flags) { size_t left_over = 0; |