Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Compilation Errors with Kernel 4.7 #121

Open
FoxStop opened this issue Aug 24, 2016 · 2 comments
Open

Compilation Errors with Kernel 4.7 #121

FoxStop opened this issue Aug 24, 2016 · 2 comments

Comments

@FoxStop
Copy link

FoxStop commented Aug 24, 2016

Hello, so while executing make i got the following compilation errors.
Before the Kernel update it compiled just fine but with the new 4.7 Kernel, it's broken:

/home/XXX/EnhanceIO/Driver/enhanceio/eio_conf.c: In function ‘eio_init_ssddev_props’:
/home/XXX/EnhanceIO/Driver/enhanceio/eio_conf.c:1434:28: error: implicit declaration of function ‘bio_get_nr_vecs’ [-Werror=implicit-function-declaration]

I also get this error a few times:

/usr/src/linux-headers-4.7.0-rc4-common/include/linux/wait.h:1194:1: note: expected ‘int ()(struct wait_bit_key *, int)’ but argument is of type ‘int ()(struct wait_bit_key *)’
wait_on_bit_lock_action(unsigned long *word, int bit, wait_bit_action_f *action
^
/home/XXX/EnhanceIO/Driver/enhanceio/eio_conf.c:1914:28: error: passing argument 3 of ‘wait_on_bit_lock_action’ from incompatible pointer type [-Werror=incompatible-pointer-types]
EIO_UPDATE_LIST, eio_wait_schedule,

@dominix
Copy link

dominix commented Sep 28, 2016

same error with kernel 4.4.0

@elmystico
Copy link

Have you tried code from my repo?
https://github.com/elmystico/EnhanceIO
The code is somehow patched (u can look for the details there)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants