On 16/12/2025 09:22, Dmytro Prokopchuk1 wrote:
> MISRA C Rule 2.1 states: "A project shall not contain unreachable code."
> The GIC LPI driver callbacks violate this due to the use of the BUG()
> macro, which causes the function to never return.
> 
> Swap BUG() for ASSERT_UNREACHABLE() to satisfy the rule without needing
> an additional deviation.
> 
> Signed-off-by: Dmytro Prokopchuk <[email protected]>
Reviewed-by: Michal Orzel <[email protected]>

~Michal


Reply via email to