]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(st-clock): avoid arithmetics on pointers
authorYann Gautier <yann.gautier@st.com>
Fri, 25 Nov 2022 13:34:52 +0000 (14:34 +0100)
committerYann Gautier <yann.gautier@st.com>
Wed, 7 Dec 2022 13:18:31 +0000 (14:18 +0100)
commit4198fa1db7297d8385bb6624d4bd475870e5bf12
tree09c55c54008887e5f074f4fe06be96c23e74c9ee
parentee21709e98a9e0f60a46d79caf5b702a0b7941cc
fix(st-clock): avoid arithmetics on pointers

This corrects MISRA C2012-18.4:
The +, -, += and -= operators should not be applied to an expression
of pointer type.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: I9128f567a7c83d8e3381428b07e6bd785be2703b
drivers/st/clk/clk-stm32mp13.c