|
@@ -256,7 +256,7 @@ static inline struct kmem_cache *cache_from_obj(struct kmem_cache *s, void *x)
|
|
return cachep;
|
|
return cachep;
|
|
|
|
|
|
pr_err("%s: Wrong slab cache. %s but object is from %s\n",
|
|
pr_err("%s: Wrong slab cache. %s but object is from %s\n",
|
|
- __FUNCTION__, cachep->name, s->name);
|
|
|
|
|
|
+ __func__, cachep->name, s->name);
|
|
WARN_ON_ONCE(1);
|
|
WARN_ON_ONCE(1);
|
|
return s;
|
|
return s;
|
|
}
|
|
}
|