Re: [PATCH] drm/amdgpu: remove conversion to bool in amdgpu_device.c

2020-04-27 Thread Alex Deucher
Applied. thanks! Alex On Mon, Apr 27, 2020 at 4:02 AM Christian König wrote: > > Am 27.04.20 um 08:36 schrieb Jason Yan: > > The '>' expression itself is bool, no need to convert it to bool again. > > This fixes the following coccicheck warning: > > > > drivers/gpu/drm/amd/amdgpu/amdgpu_device.

Re: [PATCH] drm/amdgpu: remove conversion to bool in amdgpu_device.c

2020-04-27 Thread Christian König
Am 27.04.20 um 08:36 schrieb Jason Yan: The '>' expression itself is bool, no need to convert it to bool again. This fixes the following coccicheck warning: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:3004:68-73: WARNING: conversion to bool not needed here Signed-off-by: Jason Yan Reviewed-by

[PATCH] drm/amdgpu: remove conversion to bool in amdgpu_device.c

2020-04-27 Thread Jason Yan
The '>' expression itself is bool, no need to convert it to bool again. This fixes the following coccicheck warning: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:3004:68-73: WARNING: conversion to bool not needed here Signed-off-by: Jason Yan --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-