In file included from /var/lib/dkms/openafs/1.6.20/build/src/afs/LINUX/osi_machdep.h:129:0, from /var/lib/dkms/openafs/1.6.20/build/src/afs/afs_osi.h:440, from /var/lib/dkms/openafs/1.6.20/build/src/libafs/MODLOAD-4.12.0-11-generic-SP/afs_dir.c:70:
./arch/s390/include/asm/uaccess.h: In function ‘set_fs’:
./arch/s390/include/asm/uaccess.h:41:6: error: implicit declaration of function ‘uaccess_kernel’; did you mean ‘getname_kernel’? [-Werror=implicit-function-declaration]
if (uaccess_kernel()) {
^~~~~~~~~~~~~~
getname_kernel
It looks like this would be fixed by including uaccess.h instead of asm/uaccess.h, need to determine whether there's some kernel version limitation on this change though.
In file included from /var/lib/ dkms/openafs/ 1.6.20/ build/src/ afs/LINUX/ osi_machdep. h:129:0,
from /var/lib/ dkms/openafs/ 1.6.20/ build/src/ afs/afs_ osi.h:440,
from /var/lib/ dkms/openafs/ 1.6.20/ build/src/ libafs/ MODLOAD- 4.12.0- 11-generic- SP/afs_ dir.c:70: s390/include/ asm/uaccess. h: In function ‘set_fs’: s390/include/ asm/uaccess. h:41:6: error: implicit declaration of function ‘uaccess_ kernel†™; did you mean ‘getname_ kernel†™? [-Werror= implicit- function- declaration] ~~~~~~~ ~~~~~~ kernel
./arch/
./arch/
if (uaccess_kernel()) {
^
getname_
It looks like this would be fixed by including uaccess.h instead of asm/uaccess.h, need to determine whether there's some kernel version limitation on this change though.