[PATCH] drm/amd/display: Harden callers of division functions

2024-12-31 Thread Tiezhu Yang
There are objtool warnings compiled with the latest mainline LLVM: dc_fixpt_recip() falls through to next function dc_fixpt_sinc() spl_fixpt_recip() falls through to next function spl_fixpt_sinc() Here are the call paths: dc_fixpt_recip() dc_fixpt_from_fraction() complete_integer

Re: [PATCH] drm/amd/display: Harden callers of division functions

2024-12-31 Thread Huacai Chen
Hi, Tiezhu, On Tue, Dec 31, 2024 at 3:28 PM Tiezhu Yang wrote: > > There are objtool warnings compiled with the latest mainline LLVM: > > dc_fixpt_recip() falls through to next function dc_fixpt_sinc() > spl_fixpt_recip() falls through to next function spl_fixpt_sinc() > > Here are the call p