include/linux/poison.h: fix LIST_POISON{1,2} offset
[deliverable/linux.git] / mm / slab.h
index 88b55497738cb8df5cbc8e73ada9039b06553110..a3a967d7d7c27f1fec35acdfb3e07eb6f33f6fc3 100644 (file)
--- a/mm/slab.h
+++ b/mm/slab.h
@@ -330,7 +330,7 @@ static inline struct kmem_cache *cache_from_obj(struct kmem_cache *s, void *x)
                return cachep;
 
        pr_err("%s: Wrong slab cache. %s but object is from %s\n",
-              __func__, cachep->name, s->name);
+              __func__, s->name, cachep->name);
        WARN_ON_ONCE(1);
        return s;
 }
This page took 0.023574 seconds and 5 git commands to generate.