From: Julia Lawall Date: Tue, 22 Jan 2013 11:29:26 +0000 (+0100) Subject: crypto: use ERR_CAST X-Git-Tag: v3.9-rc1~87^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e8afe35c36fa0e928e038667709966a71a9cfa5;p=pandora-kernel.git 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/) // @@ 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 --- Reading git-diff-tree failed