Re: [PATCH v3 1/3] drm/amd/display: Add ASSERT_BUG() macro definition

2025-01-14 Thread Tiezhu Yang
On 01/14/2025 04:29 PM, Huacai Chen wrote: Hi, Tiezhu, On Tue, Jan 14, 2025 at 2:16 PM Tiezhu Yang wrote: In order to keep the current ability for the aim of debugging and avoid printing the warning message twice, add ASSERT_BUG() macro definition to harden the callers of division functions.

[PATCH v3 1/3] drm/amd/display: Add ASSERT_BUG() macro definition

2025-01-14 Thread Tiezhu Yang
In order to keep the current ability for the aim of debugging and avoid printing the warning message twice, add ASSERT_BUG() macro definition to harden the callers of division functions. Signed-off-by: Tiezhu Yang --- drivers/gpu/drm/amd/display/dc/os_types.h | 5 + 1 file changed, 5 inserti

Re: [PATCH v3 1/3] drm/amd/display: Add ASSERT_BUG() macro definition

2025-01-14 Thread Huacai Chen
Hi, Tiezhu, On Tue, Jan 14, 2025 at 2:16 PM Tiezhu Yang wrote: > > In order to keep the current ability for the aim of debugging and avoid > printing the warning message twice, add ASSERT_BUG() macro definition to > harden the callers of division functions. > > Signed-off-by: Tiezhu Yang > --- >