[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] lukino563:
Kernel build

I cannot build it myself, on wireguard it crashes everytime

../net/wireguard/ratelimiter.c:186:28: note: in expansion of macro ‘roundup_pow_of_two’
186 | max_t(unsigned long, 16, roundup_pow_of_two(
| ^~~~~~~~~~~~~~~~~~
../net/wireguard/ratelimiter.c:187:22: error: invalid operands to binary << (have ‘long unsigned int (*)(void)’ and ‘int’)
187 | (totalram_pages() << PAGE_SHIFT) /
| ^~
../include/linux/kernel.h:823:25: note: in definition of macro ‘__cmp_once’
823 | typeof(y) unique_y = (y); \
| ^
../include/linux/kernel.h:903:27: note: in expansion of macro ‘__careful_cmp’
903 | #define max_t(type, x, y) __careful_cmp((type)(x), (type)(y), >)
| ^~~~~~~~~~~~~
../net/wireguard/ratelimiter.c:186:3: note: in expansion of macro ‘max_t’
186 | max_t(unsigned long, 16, roundup_pow_of_two(
| ^~~~~
../include/linux/log2.h:163:12: note: in expansion of macro ‘ilog2’
163 | (1UL << (ilog2((n) - 1) + 1)) \
| ^~~~~
../net/wireguard/ratelimiter.c:186:28: note: in expansion of macro ‘roundup_pow_of_two’
186 | max_t(unsigned long, 16, roundup_pow_of_two(
| ^~~~~~~~~~~~~~~~~~
../net/wireguard/ratelimiter.c:187:22: error: invalid operands to binary << (have ‘long unsigned int (*)(void)’ and ‘int’)
187 | (totalram_pages() << PAGE_SHIFT) /
| ^~
../include/linux/kernel.h:823:25: note: in definition of macro ‘__cmp_once’
823 | typeof(y) unique_y = (y); \
| ^
../include/linux/kernel.h:903:27: note: in expansion of macro ‘__careful_cmp’
903 | #define max_t(type, x, y) __careful_cmp((type)(x), (type)(y), >)
| ^~~~~~~~~~~~~
../net/wireguard/ratelimiter.c:186:3: note: in expansion of macro ‘max_t’
186 | max_t(unsigned long, 16, roundup_pow_of_two(
| ^~~~~
../include/linux/log2.h:163:12: note: in expansion of macro ‘ilog2’
163 | (1UL << (ilog2((n) - 1) + 1)) \
| ^~~~~
../net/wireguard/ratelimiter.c:186:28: note: in expansion of macro ‘roundup_pow_of_two’
186 | max_t(unsigned long, 16, roundup_pow_of_two(
| ^~~~~~~~~~~~~~~~~~
../net/wireguard/ratelimiter.c:187:22: error: invalid operands to binary << (have ‘long unsigned int (*)(void)’ and ‘int’)
187 | (totalram_pages() << PAGE_SHIFT) /
| ^~
../include/linux/kernel.h:823:25: note: in definition of macro ‘__cmp_once’
823 | typeof(y) unique_y = (y); \
| ^
../include/linux/kernel.h:903:27: note: in expansion of macro ‘__careful_cmp’
903 | #define max_t(type, x, y) __careful_cmp((type)(x), (type)(y), >)
| ^~~~~~~~~~~~~
../net/wireguard/ratelimiter.c:186:3: note: in expansion of macro ‘max_t’
186 | max_t(unsigned long, 16, roundup_pow_of_two(
| ^~~~~
../include/linux/log2.h:163:12: note: in expansion of macro ‘ilog2’
163 | (1UL << (ilog2((n) - 1) + 1)) \
| ^~~~~
../net/wireguard/ratelimiter.c:186:28: note: in expansion of macro ‘roundup_pow_of_two’
186 | max_t(unsigned long, 16, roundup_pow_of_two(
| ^~~~~~~~~~~~~~~~~~
../net/wireguard/ratelimiter.c:187:22: error: invalid operands to binary << (have ‘long unsigned int (*)(void)’ and ‘int’)
187 | (totalram_pages() << PAGE_SHIFT) /
| ^~
../include/linux/kernel.h:823:25: note: in definition of macro ‘__cmp_once’
823 | typeof(y) unique_y = (y); \
| ^
../include/linux/kernel.h:903:27: note: in expansion of macro ‘__careful_cmp’
903 | #define max_t(type, x, y) __careful_cmp((type)(x), (type)(y), >)
| ^~~~~~~~~~~~~
../net/wireguard/ratelimiter.c:186:3: note: in expansion of macro ‘max_t’
186 | max_t(unsigned long, 16, roundup_pow_of_two(
| ^~~~~
../include/linux/log2.h:163:12: note: in expansion of macro ‘ilog2’
163 | (1UL << (ilog2((n) - 1) + 1)) \
| ^~~~~
../net/wireguard/ratelimiter.c:186:28: note: in expansion of macro ‘roundup_pow_of_two’
186 | max_t(unsigned long, 16, roundup_pow_of_two(
| ^~~~~~~~~~~~~~~~~~
../net/wireguard/ratelimiter.c:187:22: error: invalid operands to binary << (have ‘long unsigned int (*)(void)’ and ‘int’)
187 | (totalram_pages() << PAGE_SHIFT) /
| ^~
../include/linux/kernel.h:823:25: note: in definition of macro ‘__cmp_once’
823 | typeof(y) unique_y = (y); \
| ^
../include/linux/kernel.h:903:27: note: in expansion of macro ‘__careful_cmp’
903 | #define max_t(type, x, y) __careful_cmp((type)(x), (type)(y), >)
| ^~~~~~~~~~~~~
../net/wireguard/ratelimiter.c:186:3: note: in expansion of macro ‘max_t’
186 | max_t(unsigned long, 16, roundup_pow_of_two(
| ^~~~~
../include/linux/log2.h:163:12: note: in expansion of macro ‘ilog2’
163 | (1UL << (ilog2((n) - 1) + 1)) \
| ^~~~~
../net/wireguard/ratelimiter.c:186:28: note: in expansion of macro ‘roundup_pow_of_two’
186 | max_t(unsigned long, 16, roundup_pow_of_two(
| ^~~~~~~~~~~~~~~~~~
../net/wireguard/ratelimiter.c:187:22: error: invalid operands to binary << (have ‘long unsigned int (*)(void)’ and ‘int’)
187 | (totalram_pages() << PAGE_SHIFT) /
| ^~
../include/linux/kernel.h:823:25: note: in definition of macro ‘__cmp_once’
823 | typeof(y) unique_y = (y); \
| ^
../include/linux/kernel.h:903:27: note: in expansion of macro ‘__careful_cmp’
903 | #define max_t(type, x, y) __careful_cmp((type)(x), (type)(y), >)
| ^~~~~~~~~~~~~
../net/wireguard/ratelimiter.c:186:3: note: in expansion of macro ‘max_t’
186 | max_t(unsigned long, 16, roundup_pow_of_two(
| ^~~~~
../include/linux/log2.h:163:12: note: in expansion of macro ‘ilog2’
163 | (1UL << (ilog2((n) - 1) + 1)) \
| ^~~~~
../net/wireguard/ratelimiter.c:186:28: note: in expansion of macro ‘roundup_pow_of_two’
186 | max_t(unsigned long, 16, roundup_pow_of_two(
| ^~~~~~~~~~~~~~~~~~
../net/wireguard/ratelimiter.c:187:22: error: invalid operands to binary << (have ‘long unsigned int (*)(void)’ and ‘int’)
187 | (totalram_pages() << PAGE_SHIFT) /
| ^~
../include/linux/kernel.h:823:25: note: in definition of macro ‘__cmp_once’
823 | typeof(y) unique_y = (y); \
| ^
../include/linux/kernel.h:903:27: note: in expansion of macro ‘__careful_cmp’
903 | #define max_t(type, x, y) __careful_cmp((type)(x), (type)(y), >)
| ^~~~~~~~~~~~~
../net/wireguard/ratelimiter.c:186:3: note: in expansion of macro ‘max_t’
186 | max_t(unsigned long, 16, roundup_pow_of_two(
| ^~~~~