crypto: stm32/crc32 - include <linux/io.h>
Subsystems (2)
PATCH 1/2 crypto: stm32/crc32 - include <linux/io.h>
Building ARM allmodconfig leads to the following warnings:
drivers/crypto/stm32/stm32-crc32.c:128:2: error: implicit declaration of function 'writel_relaxed' [-Werror=implicit-function-declaration] drivers/crypto/stm32/stm32-crc32.c:134:17: error: implicit declaration of function 'readl_relaxed' [-Werror=implicit-function-declaration] drivers/crypto/stm32/stm32-crc32.c:176:4: error: implicit declaration of function 'writeb_relaxed' [-Werror=implicit-function-declaration]
Include <linux/io.h> to fix such warnings.
--- drivers/crypto/stm32/stm32-crc32.c | 1 + 1 file changed, 1 insertion(+)
drivers/crypto/stm32/stm32-crc32.c +1 -0
@@ -7,6 +7,7 @@#include <linux/bitrev.h> #include <linux/clk.h> #include <linux/crc32poly.h> +#include <linux/io.h> #include <linux/module.h> #include <linux/mod_devicetable.h> #include <linux/platform_device.h>
Signature · 1 line
2.17.1
PATCH 2/2 crypto: stm32/hash - include <linux/dma-mapping.h>
Building ARM allmodconfig leads to the following warnings:
drivers/crypto/stm32/stm32-hash.c:492:18: error: implicit declaration of function 'dma_map_sg'; did you mean 'dma_cap_set'? [-Werror=implicit-function-declaration] drivers/crypto/stm32/stm32-hash.c:493:8: error: 'DMA_TO_DEVICE' undeclared (first use in this function); did you mean 'MT_DEVICE'? drivers/crypto/stm32/stm32-hash.c:501:3: error: implicit declaration of function 'dma_unmap_sg' [-Werror=implicit-function-declaration] drivers/crypto/stm32/stm32-hash.c:589:8: error: 'DMA_TO_DEVICE' undeclared (first use in this function); did you mean 'MT_DEVICE'?
Include <linux/dma-mapping.h> to fix such warnings
--- drivers/crypto/stm32/stm32-hash.c | 1 + 1 file changed, 1 insertion(+)
drivers/crypto/stm32/stm32-hash.c +1 -0
@@ -9,6 +9,7 @@#include <linux/clk.h> #include <linux/crypto.h> #include <linux/delay.h> +#include <linux/dma-mapping.h> #include <linux/dmaengine.h> #include <linux/interrupt.h> #include <linux/io.h>
Signature · 1 line
2.17.1
Herbert Xu
maintainerQuoted 6 lines · Fabio Estevam
Building ARM allmodconfig leads to the following warnings:
drivers/crypto/stm32/stm32-crc32.c:128:2: error: implicit declaration of function 'writel_relaxed' [-Werror=implicit-function-declaration]drivers/crypto/stm32/stm32-crc32.c:134:17: error: implicit declaration of function 'readl_relaxed' [-Werror=implicit-function-declaration]drivers/crypto/stm32/stm32-crc32.c:176:4: error: implicit declaration of function 'writeb_relaxed' [-Werror=implicit-function-declaration]
Quoted 7 lines
Include <
linux/io.h> to fix such warnings.Reported-by Olof's autobuilder <[email protected]>Signed-off-by Fabio Estevam <[email protected]>--- drivers/crypto/stm32/stm32-crc32.c | 1 + 1 file changed, 1 insertion(+)
Thank you. But this is already in the queue:
https://patchwork.kernel.org/patch/11729369/
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt