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

Fail to compile in linux kernel 4.19.294 #34

Open
PinxuanHuang opened this issue Oct 18, 2024 · 0 comments
Open

Fail to compile in linux kernel 4.19.294 #34

PinxuanHuang opened this issue Oct 18, 2024 · 0 comments

Comments

@PinxuanHuang
Copy link

Currently I put this driver module under the kernel driver staging folder and compile the kernel and I've encountered this compile error.

I wonder know that whether this driver is compatible with linux kernel 4.19.294 (my kernel version) and may I compile this driver by myself without using dkms to install it ?

drivers/staging/gasket/gasket_page_table.c:57:1: warning: data definition has no type or storage class
   57 | MODULE_IMPORT_NS(DMA_BUF);
      | ^~~~~~~~~~~~~~~~
drivers/staging/gasket/gasket_page_table.c:57:1: error: type defaults to ‘int’ in declaration of ‘MODULE_IMPORT_NS’ [-Werror=implicit-int]
drivers/staging/gasket/gasket_page_table.c:57:1: warning: parameter names (without types) in function declaration
cc1: some warnings being treated as errors
scripts/Makefile.build:303: recipe for target 'drivers/staging/gasket/gasket_page_table.o' failed
  • kernel version

    • 4.19.294
  • gasket-driver version

    • the latest commit version
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