Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xtensa: add missing include asm/uaccess.h to checksum.h

This fixes the following build errors seen in the linux-next:

arch/xtensa/include/asm/checksum.h:247:2: error: implicit declaration of
function 'access_ok' [-Werror=implicit-function-declaration]
arch/xtensa/include/asm/checksum.h:247:16: error: 'VERIFY_WRITE' undeclared
(first use in this function)

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>

authored by

Max Filippov and committed by
Chris Zankel
b0c438e6 e98c5b5b

+1
+1
arch/xtensa/include/asm/checksum.h
··· 12 12 #define _XTENSA_CHECKSUM_H 13 13 14 14 #include <linux/in6.h> 15 + #include <asm/uaccess.h> 15 16 #include <variant/core.h> 16 17 17 18 /*