* slub: Constants need UL
@ 2010-06-15 19:04 Christoph Lameter
2010-06-18 21:36 ` David Rientjes
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Lameter @ 2010-06-15 19:04 UTC (permalink / raw)
To: Pekka Enberg; +Cc: David Rientjes, linux-mm
Subject: SLUB: Constants need UL
UL suffix is missing in some constants. Conform to how slab.h uses constants.
Signed-off-by: Christoph Lameter <cl@linux-foundation.org>
---
mm/slub.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6/mm/slub.c
===================================================================
--- linux-2.6.orig/mm/slub.c 2010-05-24 14:40:33.000000000 -0500
+++ linux-2.6/mm/slub.c 2010-05-24 14:42:46.000000000 -0500
@@ -162,8 +162,8 @@
#define MAX_OBJS_PER_PAGE 65535 /* since page.objects is u16 */
/* Internal SLUB flags */
-#define __OBJECT_POISON 0x80000000 /* Poison object */
-#define __SYSFS_ADD_DEFERRED 0x40000000 /* Not yet visible via sysfs */
+#define __OBJECT_POISON 0x80000000UL /* Poison object */
+#define __SYSFS_ADD_DEFERRED 0x40000000UL /* Not yet visible via sysfs */
static int kmem_size = sizeof(struct kmem_cache);
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: slub: Constants need UL
2010-06-15 19:04 slub: Constants need UL Christoph Lameter
@ 2010-06-18 21:36 ` David Rientjes
0 siblings, 0 replies; 2+ messages in thread
From: David Rientjes @ 2010-06-18 21:36 UTC (permalink / raw)
To: Christoph Lameter; +Cc: Pekka Enberg, linux-mm
On Tue, 15 Jun 2010, Christoph Lameter wrote:
> Subject: SLUB: Constants need UL
>
> UL suffix is missing in some constants. Conform to how slab.h uses constants.
>
> Signed-off-by: Christoph Lameter <cl@linux-foundation.org>
Acked-by: David Rientjes <rientjes@google.com>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-18 21:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-15 19:04 slub: Constants need UL Christoph Lameter
2010-06-18 21:36 ` David Rientjes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox