stm32mp1: correct some static analysis tools issues
authorYann Gautier <yann.gautier@st.com>
Fri, 9 Nov 2018 14:57:18 +0000 (15:57 +0100)
committerYann Gautier <yann.gautier@st.com>
Fri, 9 Nov 2018 17:22:08 +0000 (18:22 +0100)
commit3e6fab43085b0f3ecb05339d81edad86dd091a52
treed63f08179e243909c35d8ace147a5774264876d6
parent4cb17707b5c83e47477d743cb1129fc0c75a15c1
stm32mp1: correct some static analysis tools issues

These issues wer found by sparse:

drivers/st/clk/stm32mp1_clk.c:1524:19:
 warning: incorrect type in assignment (different base types)
    expected restricted fdt32_t const [usertype] *pkcs_cell
    got unsigned int const [usertype] *

plat/st/stm32mp1/plat_image_load.c:13:6:
 warning: symbol 'plat_flush_next_bl_params' was not declared.
 Should it be static?
plat/st/stm32mp1/plat_image_load.c:21:16:
 warning: symbol 'plat_get_bl_image_load_info' was not declared.
 Should it be static?
plat/st/stm32mp1/plat_image_load.c:29:13:
 warning: symbol 'plat_get_next_bl_params' was not declared.
 Should it be static?

plat/st/stm32mp1/bl2_io_storage.c:40:10:
 warning: symbol 'block_buffer' was not declared. Should it be static?

Signed-off-by: Yann Gautier <yann.gautier@st.com>
drivers/st/clk/stm32mp1_clk.c
drivers/st/clk/stm32mp1_clkfunc.c
include/drivers/st/stm32mp1_clkfunc.h
plat/st/stm32mp1/bl2_io_storage.c
plat/st/stm32mp1/plat_image_load.c