Re: [PATCH -next] drm/amd/display: use swap() in sort()

2024-07-24 Thread Christian König
Am 24.07.24 um 09:37 schrieb Jiapeng Chong: Use existing swap() function rather than duplicating its implementation. ./drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/dml2_pmo_dcn3.c:17:29-30: WARNING opportunity for swap(). Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.

Re: [PATCH -next] drm/amd/display: use swap() in sort()

2024-07-24 Thread Alex Deucher
Applied. Thanks! Alex On Wed, Jul 24, 2024 at 3:38 AM Jiapeng Chong wrote: > > Use existing swap() function rather than duplicating its implementation. > > ./drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/dml2_pmo_dcn3.c:17:29-30: > WARNING opportunity for swap(). > > Reported-by: Abac

[PATCH -next] drm/amd/display: use swap() in sort()

2024-07-24 Thread Jiapeng Chong
Use existing swap() function rather than duplicating its implementation. ./drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/dml2_pmo_dcn3.c:17:29-30: WARNING opportunity for swap(). Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9573 Signed-off-by: Jiapeng