On Thu, Aug 22, 2024 at 2:57 AM Yu Jiaoliang <yujiaoliang@xxxxxxxx> wrote: > > *** BLURB HERE *** > > Yu Jiaoliang (6): > drm/amd/display: Use max/min macro > drm/amd/display: Use max/min macro > drm/amd/display: Use max/min macro > drm/amd/display: Use max/min macro > drm/amd/display: Use max/min macro > drm/amd/display: Use max/min macro Is this the preferred kernel coding style for these type of comparisons? Otherwise this just seems like a lot of churn for not much gain. Alex > > drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | 4 ++-- > drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c | 4 +++- > drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 4 ++-- > drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 2 +- > drivers/gpu/drm/amd/display/dc/spl/dc_spl.c | 4 ++-- > drivers/gpu/drm/amd/display/modules/freesync/freesync.c | 4 ++-- > 6 files changed, 12 insertions(+), 10 deletions(-) > > -- > 2.34.1 >