From: Thomas Meyer Date: Mon, 16 Sep 2013 21:19:54 +0000 (+0200) Subject: drm/msm: Odd PTR_ERR usage X-Git-Tag: v3.12-rc3~7^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4826a94c7444698725572f3def3686fb3f38d6d;p=pandora-kernel.git drm/msm: Odd PTR_ERR usage The variable priv->kms is not initialized yet. Found by "scripts/coccinelle/tests/odd_ptr_err.cocci". PTR_ERR should access the value just tested by IS_ERR. Signed-off-by: Thomas Meyer --- Reading git-diff-tree failed