Tag: 3e8afe35c36fa0e928e038667709966a71a9cfa5

crypto: use ERR_CAST

Author: Julia Lawall <Julia.Lawall@lip6.fr> Replace PTR_ERR followed by ERR_PTR by ERR_CAST, to be more concise. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression err,x; @@ – err = PTR_ERR(x); if (IS_ERR(x)) – return ERR_PTR(err); + return ERR_CAST(x); // Signed-off-by: Julia Lawall Signed-off-by: Herbert Xu — crypto/aead.c | 6 ++—- …

Continue reading

BtrLinux
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.