linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] slab: fix sparse warning
@ 2006-01-22 20:06 Randy.Dunlap
  2006-01-22 20:34 ` Pekka Enberg
  0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2006-01-22 20:06 UTC (permalink / raw)
  To: penberg, akpm; +Cc: lkml

From: Randy Dunlap <rdunlap@xenotime.net>

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

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 mm/slab.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2616-rc1g4.orig/mm/slab.c
+++ linux-2616-rc1g4/mm/slab.c
@@ -1501,7 +1501,7 @@ static inline void set_up_list3s(kmem_ca
  * towards high-order requests, this should be changed.
  */
 static inline size_t calculate_slab_order(kmem_cache_t *cachep, size_t size,
-					  size_t align, gfp_t flags)
+					  size_t align, unsigned long flags)
 {
 	size_t left_over = 0;
 


---

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] slab: fix sparse warning
  2006-01-22 20:06 [PATCH] slab: fix sparse warning Randy.Dunlap
@ 2006-01-22 20:34 ` Pekka Enberg
  0 siblings, 0 replies; 2+ messages in thread
From: Pekka Enberg @ 2006-01-22 20:34 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: akpm, lkml

Hi Randy,

On Sun, 2006-01-22 at 12:06 -0800, Randy.Dunlap wrote:
> From: Randy Dunlap <rdunlap@xenotime.net>
> 
> fix sparse warning:
> mm/slab.c:1522:13: error: incompatible types for operation (&)
> 
> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>

Looks good, thanks.

Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>

			Pekka


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-22 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-22 20:06 [PATCH] slab: fix sparse warning Randy.Dunlap
2006-01-22 20:34 ` Pekka Enberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).