Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1420958
| From | David Binderman <linuxdev.baldrick@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | linux-4.7-rc3/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c: 2 * pointless tests ? |
| Date | 2016-06-13 17:00 +0200 |
| Message-ID | <rJBvj-7FA-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
linux-4.7-rc3/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c: 2 * pointless tests ? David Binderman <linuxdev.baldrick@gmail.com> - 2016-06-13 17:00 +0200
Re: linux-4.7-rc3/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c: 2 * pointless tests ? Rob Clark <robdclark@gmail.com> - 2016-06-13 17:30 +0200
Re: linux-4.7-rc3/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c: 2 * pointless tests ? David Binderman <linuxdev.baldrick@gmail.com> - 2016-06-15 12:10 +0200
csiph-web