[PATCH] drm/tegra: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

Stephen Warren swarren at wwwdotorg.org
Fri Apr 11 08:48:00 PDT 2014


On 04/11/2014 02:36 AM, Duan Jiong wrote:
> This patch fixes coccinelle error regarding usage of IS_ERR and
> PTR_ERR instead of PTR_ERR_OR_ZERO.

Same comment as the other patch; I prefer the existing code (although
I'll defer to Thierry as maintainer of both these pieces of code).

It would help if the commit description quoted the coccinelle error.



More information about the dri-devel mailing list