commit | 3e8afe35c36fa0e928e038667709966a71a9cfa5 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Tue Jan 22 12:29:26 2013 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon Feb 04 21:16:53 2013 +0800 |
tree | b74592dd4ec5e9fdcb89abf82374ecd9cd2e89b8 | |
parent | 7b5c253c88ae5f6770e426b1d3f135be75483200 [diff] |
crypto: use ERR_CAST 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/) // <smpl> @@ expression err,x; @@ - err = PTR_ERR(x); if (IS_ERR(x)) - return ERR_PTR(err); + return ERR_CAST(x); // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>