You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 2, 2017. It is now read-only.
$ make
make -C "/lib/modules/4.13.7-gentoo-skobkin/build" M=/home/skobkin/tmp/zsmapbench modules
make[1]: Entering directory '/usr/src/linux-4.13.7-gentoo'
CC [M] /home/skobkin/tmp/zsmapbench/zsmapbench.o
/home/skobkin/tmp/zsmapbench/zsmapbench.c: In function ‘zsmb_kthread’:
/home/skobkin/tmp/zsmapbench/zsmapbench.c:35:9: error: too many arguments to function ‘zs_create_pool’
pool = zs_create_pool("zsmapbench", GFP_NOIO | __GFP_HIGHMEM);
^~~~~~~~~~~~~~
In file included from /home/skobkin/tmp/zsmapbench/zsmapbench.c:14:0:
./include/linux/zsmalloc.h:44:17: note: declared here
struct zs_pool *zs_create_pool(const char *name);
^~~~~~~~~~~~~~
/home/skobkin/tmp/zsmapbench/zsmapbench.c:48:16: error: too few arguments to function ‘zs_malloc’
handles[i] = zs_malloc(pool, size);
^~~~~~~~~
In file included from /home/skobkin/tmp/zsmapbench/zsmapbench.c:14:0:
./include/linux/zsmalloc.h:47:15: note: declared here
unsigned long zs_malloc(struct zs_pool *pool, size_t size, gfp_t flags);
^~~~~~~~~
make[2]: *** [scripts/Makefile.build:309: /home/skobkin/tmp/zsmapbench/zsmapbench.o] Error 1
make[1]: *** [Makefile:1512: _module_/home/skobkin/tmp/zsmapbench] Error 2
make[1]: Leaving directory '/usr/src/linux-4.13.7-gentoo'
make: *** [Makefile:7: all] Error 2
@ 080b772