Author: Julia Lawall <Julia.Lawall@lip6.fr> Replace OBD_FREE and OBD_FREE_PTR by kfree. The semantic patch that makes these changes is as follows: (http://coccinelle.lip6.fr/) // @@ expression ptr, size; @@ – OBD_FREE(ptr, size); + kfree(ptr); @@ expression ptr; @@ – OBD_FREE_PTR(ptr); + kfree(ptr); // Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/llite/dcache.c | 6 ++– drivers/staging/lustre/lustre/llite/dir.c | 34 …
Privacy Overview
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.