[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMzoamYX-bHYL+qO5jAT02Qat7BjH8+6LPcY+vsYePptf3ALtA@mail.gmail.com>
Date: Mon, 13 Jun 2016 15:51:29 +0100
From: David Binderman <linuxdev.baldrick@...il.com>
To: robdclark@...il.com, airlied@...ux.ie,
linux-arm-msm@...r.kernel.org, dri-devel@...ts.freedesktop.org,
freedreno@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
dcb314@...mail.com
Subject: linux-4.7-rc3/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c: 2 * pointless
tests ?
Hello there,
1.
linux-4.7-rc3/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c:545]: (style)
Checking if unsigned variable 'pipe' is less than zero.
Source code is
if (pipe < 0 || pipe >= priv->num_crtcs) {
2.
linux-4.7-rc3/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c:567]: (style)
Checking if unsigned variable 'pipe' is less than zero.
Duplicate a few lines further down.
Regards
David Binderman
Powered by blists - more mailing lists