We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Any chance to fix this error (newest ubuntu):
error: implicit declaration of function ‘ioremap_nocache’ [-Werror=implicit-function-declaration] 60 | buffer = (char*) ioremap_nocache(RESERVED_START, RESERVED_SIZE); | ^~~~~~~~~~~~~~~ /home/karol/bitleaker/bitleaker-kernel-module/bitleaker-kernel-module.c:60:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 60 | buffer = (char*) ioremap_nocache(RESERVED_START, RESERVED_SIZE); | ^ /home/karol/bitleaker/bitleaker-kernel-module/bitleaker-kernel-module.c:85:9: error: implicit declaration of function ‘iounmap’; did you mean ‘do_munmap’? [-Werror=implicit-function-declaration] 85 | iounmap(buffer); | ^~~~~~~ | do_munmap cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:257: /home/karol/bitleaker/bitleaker-kernel-module/bitleaker-kernel-module.o] Error 1 make[1]: *** [Makefile:1850: /home/karol/bitleaker/bitleaker-kernel-module] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.19.0-38-generic' make: *** [Makefile:4: all] Error 2 Finished.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Any chance to fix this error (newest ubuntu):
error: implicit declaration of function ‘ioremap_nocache’ [-Werror=implicit-function-declaration]
60 | buffer = (char*) ioremap_nocache(RESERVED_START, RESERVED_SIZE);
| ^~~~~~~~~~~~~~~
/home/karol/bitleaker/bitleaker-kernel-module/bitleaker-kernel-module.c:60:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
60 | buffer = (char*) ioremap_nocache(RESERVED_START, RESERVED_SIZE);
| ^
/home/karol/bitleaker/bitleaker-kernel-module/bitleaker-kernel-module.c:85:9: error: implicit declaration of function ‘iounmap’; did you mean ‘do_munmap’? [-Werror=implicit-function-declaration]
85 | iounmap(buffer);
| ^~~~~~~
| do_munmap
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:257: /home/karol/bitleaker/bitleaker-kernel-module/bitleaker-kernel-module.o] Error 1
make[1]: *** [Makefile:1850: /home/karol/bitleaker/bitleaker-kernel-module] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.19.0-38-generic'
make: *** [Makefile:4: all] Error 2
Finished.
The text was updated successfully, but these errors were encountered: