Skip to content
Commit 23cb9c0b authored by ferar alashkar's avatar ferar alashkar Committed by Anas Nashif
Browse files

drivers: intc: stm32: correct for counter type



change for loop iterator/counter type to unsigned int, thus matching
that of struct stm32_exti_range's len member var, complying with
required [misra-c2012-10.4] rule which states; Both operands of an
operator in which the usual arithmetic conversions are performed shall
have the same essential type category.

Found as a coding guideline violation (Rule 10.4) by static code
scanning tool.

Note: Tested on STM32L5 Nucleo-144 board (stm32l552xx).

Signed-off-by: default avatarferar alashkar <ferar.alashkar@gmail.com>
parent 6652eb7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment