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

Compilation Errors with Kernel 4.7 #121

@FoxStop

Description

@FoxStop

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions