Skip to content
Snippets Groups Projects
Commit 36e6fbca authored by Alexey Lyashkov's avatar Alexey Lyashkov
Browse files

fix typo founded by maxim.

Branch HEAD
parent 8692681e
No related branches found
No related tags found
No related merge requests found
......@@ -192,7 +192,7 @@ static inline struct obd_capa *alloc_capa(int site)
if (unlikely(site != CAPA_SITE_CLIENT && site != CAPA_SITE_SERVER))
return ERR_PTR(-EINVAL);
OBD_SLAB_ALLOC(ocapa, capa_cachep, GFP_KERNEL, sizeof(*ocapa));
OBD_SLAB_ALLOC_PTR(ocapa, capa_cachep);
if (unlikely(!ocapa))
return ERR_PTR(-ENOMEM);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment