[lkml]   [2003]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[patch][2.5.56] fix compile error mm/slab.c __slab_error
mm/slab.c: In function `slab_destroy':
mm/slab.c:803: warning: passing arg 1 of `__slab_error' discards qualifiers from pointer target type

Index: linux-2.5.56/mm/slab.c
RCS file: /build/cvsroot/linux-2.5.56/mm/slab.c,v
retrieving revision
diff -u -r1.1.1.1 slab.c
--- linux-2.5.56/mm/slab.c 10 Jan 2003 21:23:45 -0000
+++ linux-2.5.56/mm/slab.c 10 Jan 2003 21:41:17 -0000
@@ -502,7 +502,7 @@

#define slab_error(cachep, msg) __slab_error(__FUNCTION__, cachep, msg)

-static void __slab_error(char *function, kmem_cache_t *cachep, char *msg)
+static void __slab_error(const char *function, kmem_cache_t *cachep, char *msg)
printk(KERN_ERR "slab error in %s(): cache `%s': %s\n",
function, cachep->name, msg);
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.032 / U:3.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site