From: Rusty Russell Date: Mon, 15 Jul 2013 01:49:32 +0000 (+0930) Subject: PTR_RET is now PTR_ERR_OR_ZERO X-Git-Tag: v3.12-rc1~146^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e8b8726ad503214ba66e34aed69aff41de33489;p=pandora-kernel.git PTR_RET is now PTR_ERR_OR_ZERO True, it's often used in return statements, but after much bikeshedding it's probably better to have an explicit name. (I tried just putting the IS_ERR check inside PTR_ERR itself and gcc usually generated no more code. But that clashes current expectations of how PTR_ERR behaves, so having a separate function is better). Suggested-by: Julia Lawall Suggested-by: "Michael S. Tsirkin" Cc: Julia Lawall Cc: "Michael S. Tsirkin" Signed-off-by: Rusty Russell --- Reading git-diff-tree failed