]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(st-gpio): define shift as uint32_t
authorYann Gautier <yann.gautier@st.com>
Fri, 25 Nov 2022 09:56:25 +0000 (10:56 +0100)
committerYann Gautier <yann.gautier@st.com>
Wed, 7 Dec 2022 17:25:13 +0000 (18:25 +0100)
commit5d942ff1964131bf33f445f66175fe8211c77e23
tree4bbf901b4d815465c3510abee1ccd966de14b4cd
parent029f81e04c0232843f3e546fa080778a1008a9c5
fix(st-gpio): define shift as uint32_t

This corrects MISRA C2012-10.6:
The value of a composite expression shall not be assigned to an object
with wider essential type.
While at it change all the shift values to unsigned.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: Idf9915313af965db2106095df7cb48a84f50c519
drivers/st/gpio/stm32_gpio.c