Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not compile modules at v5.0 #66

Open
miguelinux opened this issue Mar 15, 2019 · 0 comments
Open

Can not compile modules at v5.0 #66

miguelinux opened this issue Mar 15, 2019 · 0 comments

Comments

@miguelinux
Copy link
Contributor

When dysk kernel modules are compiled against v5.0 it can not compiled due to a
torvalds/linux@a1ce35f

it shows:

drivers/block/dysk/dysk_bdd.c:808:25: error: implicit declaration of function ‘blk_peek_request’; did you mean ‘blk_get_request’? [-Werror=implicit-function-declaration]
   while (NULL != (req = blk_peek_request(q))) {
                         ^~~~~~~~~~~~~~~~
                         blk_get_request
drivers/block/dysk/dysk_bdd.c:808:23: warning: assignment to ‘struct request *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]  
   while (NULL != (req = blk_peek_request(q))) {
                       ^
drivers/block/dysk/dysk_bdd.c:811:7: error: implicit declaration of function ‘blk_start_request’; did you mean ‘blk_abort_request’? [-Werror=implicit-function-declaration]
       blk_start_request(req);
       ^~~~~~~~~~~~~~~~~
       blk_abort_request
drivers/block/dysk/dysk_bdd.c: In function ‘io_hook’:
drivers/block/dysk/dysk_bdd.c:923:8: error: implicit declaration of function ‘blk_init_queue’; did you mean ‘blk_put_queue’? [-Werror=implicit-function-declaration]
   rq = blk_init_queue(io_request, &d->lock);
        ^~~~~~~~~~~~~~
        blk_put_queue


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

No branches or pull requests

1 participant