linux-stable/drivers/gpu/drm/msm/edp
Vaishali Thakkar d6c925cada drm/msm: Move call to PTR_ERR_OR_ZERO after reassignment
Here, a location is reset to NULL before being passed to PTR_ERR.
So, PTR_ERR should be called before its argument is reassigned
to NULL. Further to simplify things use PTR_ERR_OR_ZERO instead
of PTR_ERR and IS_ERR.

Problem found using Coccinelle.

Signed-off-by: Vaishali Thakkar <vaishali.thakkar@oracle.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
[fixed fmt string warning (s/%ld/%d/)]
Signed-off-by: Rob Clark <robdclark@gmail.com>
2016-05-08 10:22:16 -04:00
..
edp.c
edp.h
edp.xml.h drm/msm: update generated headers 2016-03-03 11:55:27 -05:00
edp_aux.c drm/msm/edp: fix build warning - missing prototype 2015-06-11 13:11:02 -04:00
edp_bridge.c
edp_connector.c drm/msm: Attach assigned encoder to eDP and DSI connectors 2015-05-14 16:56:42 -04:00
edp_ctrl.c drm/msm: Move call to PTR_ERR_OR_ZERO after reassignment 2016-05-08 10:22:16 -04:00
edp_phy.c