Re: [PATCH -next] drm/amd/display: Simplify bool conversion

2023-10-18 Thread Alex Deucher
Applied. Thanks! On Tue, Oct 17, 2023 at 9:22 PM Yang Li wrote: > > ./drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c:4802:84-89: > WARNING: conversion to bool not needed here > > Reported-by: Abaci Robot > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6901 > Signed-off-by: Ya

[PATCH -next] drm/amd/display: Simplify bool conversion

2023-10-17 Thread Yang Li
./drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c:4802:84-89: WARNING: conversion to bool not needed here Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6901 Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c | 2 +- 1 fi

RE: [PATCH -next] drm/amd/display: Simplify bool conversion

2023-08-16 Thread SHANMUGAM, SRINIVASAN
...@gmail.com; dan...@ffwll.ch; Deucher, Alexander ; Wentland, Harry ; Siqueira, Rodrigo Cc: Yang Li ; dri-devel@lists.freedesktop.org; amd-...@lists.freedesktop.org; linux-ker...@vger.kernel.org Subject: [PATCH -next] drm/amd/display: Simplify bool conversion ./drivers/gpu/drm/amd/display/amdgpu_dm

[PATCH -next] drm/amd/display: Simplify bool conversion

2023-08-15 Thread Yang Li
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.c:94:102-107: WARNING: conversion to bool not needed here ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.c:102:72-77: WARNING: conversion to bool not needed here Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/amdgpu_dm/

Re: [PATCH -next] drm/amd/display: Simplify bool conversion

2023-02-13 Thread Alex Deucher
Applied. Thanks. On Thu, Feb 9, 2023 at 7:59 PM Yang Li wrote: > > ./drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c:1610:68-73: > WARNING: conversion to bool not needed here > > Reported-by: Abaci Robot > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4025 > Signed-of

[PATCH -next] drm/amd/display: Simplify bool conversion

2023-02-09 Thread Yang Li
./drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c:1610:68-73: WARNING: conversion to bool not needed here Reported-by: Abaci Robot Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4025 Signed-off-by: Yang Li --- .../gpu/drm/amd/display/dc/link/protocols/link_dp_capabilit

Re: [PATCH -next] drm/amd/display: Simplify bool conversion

2022-10-11 Thread Alex Deucher
Applied. Thanks! Alex On Tue, Oct 11, 2022 at 11:27 AM Harry Wentland wrote: > > On 2022-10-10 03:38, Yang Li wrote: > > The result of 'pwr_status == 0' is Boolean, and the question mark > > expression is redundant. > > > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2354 > > Reported-

Re: [PATCH -next] drm/amd/display: Simplify bool conversion

2022-10-11 Thread Harry Wentland
On 2022-10-10 03:38, Yang Li wrote: > The result of 'pwr_status == 0' is Boolean, and the question mark > expression is redundant. > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2354 > Reported-by: Abaci Robot > Signed-off-by: Yang Li Reviewed-by: Harry Wentland Harry > --- > driv

[PATCH -next] drm/amd/display: Simplify bool conversion

2022-10-10 Thread Yang Li
The result of 'pwr_status == 0' is Boolean, and the question mark expression is redundant. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2354 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 2 +- 1 file changed, 1 insertion(+), 1 d

Re: [PATCH -next] drm/amd/display: Simplify bool conversion

2022-09-09 Thread Alex Deucher
Applied. Thanks! On Thu, Sep 1, 2022 at 4:11 AM Yang Li wrote: > > The result of relational operation is Boolean, and the question mark > expression is redundant. > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2027 > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- > .../gpu/

[PATCH -next] drm/amd/display: Simplify bool conversion

2022-09-01 Thread Yang Li
The result of relational operation is Boolean, and the question mark expression is redundant. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2027 Reported-by: Abaci Robot Signed-off-by: Yang Li --- .../gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c | 2 +- 1 file changed, 1 i