next-20210420 build breakage on 32-bit - include/uapi/linux/bcache-nvm.h
From: Valdis Klētnieks
Date: Wed Apr 21 2021 - 03:59:36 EST
commit 97d69b16cb973e04ea5309b9cb4356aa6b42c54e
Author: Coly Li <colyli@xxxxxxx>
Date: Wed Apr 14 13:46:36 2021 +0800
bcache: add initial data structures for nvm pages
contains this code:
+#if (__BITS_PER_LONG != 64)
+ #error "Non-64bit platform is not supported"
+#endif
This breaks the build on arm and other 32-bit systems:
HDRTEST usr/include/linux/bcache-nvm.h
In file included from <command-line>:32:
./usr/include/linux/bcache-nvm.h:109:3: error: #error "Non-64bit platform is not supported"
#error "Non-64bit platform is not supported"
^~~~~
make[3]: *** [/usr/src/linux-next/usr/include/Makefile:106: usr/include/linux/bcache-nvm.hdrtest] Error 1
make[2]: *** [/usr/src/linux-next/scripts/Makefile.build:534: usr/include] Error 2
make[1]: *** [/usr/src/linux-next/Makefile:1967: usr] Error 2
Attachment:
pgpyk1X42uaaC.pgp
Description: PGP signature