Compile error on linux 3.17-rc4
Closed this issue · 3 comments
Hello.
Can we fix this?
make -C /lib/modules/3.17.0-rc4/build M=/usr/src/EnhanceIO/Driver/enhanceio modules V=0
make[1]: Entering directory /usr/src/linux-3.17-rc4' CC [M] /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.o /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c: In function 'eio_cache_create': /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:1847:11: warning: passing argument 3 of 'wait_on_bit_lock' makes integer from pointer without a cast [enabled by default] In file included from include/linux/mmzone.h:9:0, from include/linux/gfp.h:5, from include/linux/kmod.h:22, from include/linux/module.h:13, from /usr/src/EnhanceIO/Driver/enhanceio/eio.h:37, from /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:39: include/linux/wait.h:957:1: note: expected 'unsigned int' but argument is of type 'int (*)(void *)' /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:1847:11: error: too many arguments to function 'wait_on_bit_lock' In file included from include/linux/mmzone.h:9:0, from include/linux/gfp.h:5, from include/linux/kmod.h:22, from include/linux/module.h:13, from /usr/src/EnhanceIO/Driver/enhanceio/eio.h:37, from /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:39: include/linux/wait.h:957:1: note: declared here /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:1906:11: warning: passing argument 3 of 'wait_on_bit_lock' makes integer from pointer without a cast [enabled by default] In file included from include/linux/mmzone.h:9:0, from include/linux/gfp.h:5, from include/linux/kmod.h:22, from include/linux/module.h:13, from /usr/src/EnhanceIO/Driver/enhanceio/eio.h:37, from /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:39: include/linux/wait.h:957:1: note: expected 'unsigned int' but argument is of type 'int (*)(void *)' /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:1906:11: error: too many arguments to function 'wait_on_bit_lock' In file included from include/linux/mmzone.h:9:0, from include/linux/gfp.h:5, from include/linux/kmod.h:22, from include/linux/module.h:13, from /usr/src/EnhanceIO/Driver/enhanceio/eio.h:37, from /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:39: include/linux/wait.h:957:1: note: declared here /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c: In function 'eio_cache_delete': /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:2060:11: warning: passing argument 3 of 'wait_on_bit_lock' makes integer from pointer without a cast [enabled by default] In file included from include/linux/mmzone.h:9:0, from include/linux/gfp.h:5, from include/linux/kmod.h:22, from include/linux/module.h:13, from /usr/src/EnhanceIO/Driver/enhanceio/eio.h:37, from /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:39: include/linux/wait.h:957:1: note: expected 'unsigned int' but argument is of type 'int (*)(void *)' /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:2060:11: error: too many arguments to function 'wait_on_bit_lock' In file included from include/linux/mmzone.h:9:0, from include/linux/gfp.h:5, from include/linux/kmod.h:22, from include/linux/module.h:13, from /usr/src/EnhanceIO/Driver/enhanceio/eio.h:37, from /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:39: include/linux/wait.h:957:1: note: declared here /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c: In function 'eio_notify_reboot': /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:2392:11: warning: passing argument 3 of 'wait_on_bit_lock' makes integer from pointer without a cast [enabled by default] In file included from include/linux/mmzone.h:9:0, from include/linux/gfp.h:5, from include/linux/kmod.h:22, from include/linux/module.h:13, from /usr/src/EnhanceIO/Driver/enhanceio/eio.h:37, from /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:39: include/linux/wait.h:957:1: note: expected 'unsigned int' but argument is of type 'int (*)(void *)' /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:2392:11: error: too many arguments to function 'wait_on_bit_lock' In file included from include/linux/mmzone.h:9:0, from include/linux/gfp.h:5, from include/linux/kmod.h:22, from include/linux/module.h:13, from /usr/src/EnhanceIO/Driver/enhanceio/eio.h:37, from /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:39: include/linux/wait.h:957:1: note: declared here /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:2405:11: warning: passing argument 3 of 'wait_on_bit_lock' makes integer from pointer without a cast [enabled by default] In file included from include/linux/mmzone.h:9:0, from include/linux/gfp.h:5, from include/linux/kmod.h:22, from include/linux/module.h:13, from /usr/src/EnhanceIO/Driver/enhanceio/eio.h:37, from /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:39: include/linux/wait.h:957:1: note: expected 'unsigned int' but argument is of type 'int (*)(void *)' /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:2405:11: error: too many arguments to function 'wait_on_bit_lock' In file included from include/linux/mmzone.h:9:0, from include/linux/gfp.h:5, from include/linux/kmod.h:22, from include/linux/module.h:13, from /usr/src/EnhanceIO/Driver/enhanceio/eio.h:37, from /usr/src/EnhanceIO/Driver/enhanceio/eio_conf.c:39: include/linux/wait.h:957:1: note: declared here make[2]: *** [/usr/src/EnhanceIO/Driver/enhanceio/eio_conf.o] Error 1 make[1]: *** [_module_/usr/src/EnhanceIO/Driver/enhanceio] Error 2 make[1]: Leaving directory
/usr/src/linux-3.17-rc4'
make: *** [modules] Error 2
Thanks and best regards
t.
It seems that this master repo is pushing merges into https://github.com/ksperis/EnhanceIO
which looks to have the required fixed and is ahead of this master.
It also seems that there's a lack of feedback and leadership over all for this project.
The Code from https://github.com/ksperis/EnhanceIO fails also to compile. But thanks for the hint.