diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-02-01 06:05:53 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-01 11:53:18 -0500 |
commit | ee13d785eac1fbe7e79ecca77bf7e902734a0b30 (patch) | |
tree | 9833d70a3d2cfe84a3259b93fc50af254aa0d1ce /mm/slab.c | |
parent | a70773ddb96b74c7afe5a5bc859ba45e3d02899e (diff) |
[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/slab.c')
-rw-r--r-- | mm/slab.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1571,8 +1571,8 @@ static void set_up_list3s(struct kmem_cache *cachep, int index) | |||
1571 | * high order pages for slabs. When the gfp() functions are more friendly | 1571 | * high order pages for slabs. When the gfp() functions are more friendly |
1572 | * towards high-order requests, this should be changed. | 1572 | * towards high-order requests, this should be changed. |
1573 | */ | 1573 | */ |
1574 | static inline size_t calculate_slab_order(struct kmem_cache *cachep, size_t size, | 1574 | static inline size_t calculate_slab_order(struct kmem_cache *cachep, |
1575 | size_t align, gfp_t flags) | 1575 | size_t size, size_t align, unsigned long flags) |
1576 | { | 1576 | { |
1577 | size_t left_over = 0; | 1577 | size_t left_over = 0; |
1578 | 1578 | ||