Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee13d785 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds
Browse files

[PATCH] slab: fix sparse warning



mm/slab.c:1522:13: error: incompatible types for operation (&)

Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a70773dd
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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
 * high order pages for slabs.  When the gfp() functions are more friendly
 * towards high-order requests, this should be changed.
 * towards high-order requests, this should be changed.
 */
 */
static inline size_t calculate_slab_order(struct kmem_cache *cachep, size_t size,
static inline size_t calculate_slab_order(struct kmem_cache *cachep,
					  size_t align, gfp_t flags)
			size_t size, size_t align, unsigned long flags)
{
{
	size_t left_over = 0;
	size_t left_over = 0;