ChenTao a2eb03a569 drm/radeon: fix unsigned comparison with 0
Fixes warning because pipe is unsigned long and can never be negtative

vers/gpu/drm/radeon/radeon_kms.c:831:11: warning:
comparison of unsigned expression < 0 is always false [-Wtype-limits]
  if (pipe < 0 || pipe >= rdev->num_crtc) {
drivers/gpu/drm/radeon/radeon_kms.c:857:11: warning:
comparison of unsigned expression < 0 is always false [-Wtype-limits]
  if (pipe < 0 || pipe >= rdev->num_crtc) {

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: ChenTao <chentao107@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-05-05 13:12:55 -04:00
..
2020-04-30 16:48:42 -04:00
2020-02-17 10:34:34 +01:00
2019-12-18 16:09:13 -05:00
2019-06-10 22:30:24 +02:00
2019-06-10 22:30:24 +02:00
2020-04-01 14:44:43 -04:00
2019-06-10 22:30:24 +02:00
2019-06-10 22:30:24 +02:00
2020-02-17 10:34:34 +01:00
2020-03-31 15:15:47 +10:00
2019-06-10 22:30:24 +02:00
2019-06-10 22:30:24 +02:00
2019-06-10 22:30:24 +02:00