Home
last modified time | relevance | path

Searched hist:"379 d77b3705b0f3a88332663bba956289cad5797" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/drivers/st/crypto/
H A Dstm32_pka.c379d77b3705b0f3a88332663bba956289cad5797 Tue Jan 10 13:07:31 UTC 2023 Yann Gautier <yann.gautier@foss.st.com> fix(st-crypto): use GENMASK_32 to define PKA registers masks

When compiling the driver in aarch64, and with LOG_LEVEL_VERBOSE, there
is a compilation error on the message displaying the version of the
peripheral. The masks are making the variable unsigned long, whereas
we want to display an unsigned int. As the registers are 32-bit,
we should use GENMASK_32 instead of GENMASK.

Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
Change-Id: I002dd5ad901f68a9480f758eaaa4428f969813c1