diff --git a/mm/slab.h b/mm/slab.h index 88b55497738cb8df5cbc8e73ada9039b06553110..a3a967d7d7c27f1fec35acdfb3e07eb6f33f6fc3 100644 --- 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; }