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

Compile error in the Linux XDMA driver #149

Open
vkomenda opened this issue Mar 9, 2022 · 1 comment
Open

Compile error in the Linux XDMA driver #149

vkomenda opened this issue Mar 9, 2022 · 1 comment

Comments

@vkomenda
Copy link

vkomenda commented Mar 9, 2022

Comping for kernel 5.16.0 yields

/home/vk/src/x/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_sgdma.c: In function ‘async_io_handler’:
/home/vk/src/x/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_sgdma.c:108:17: error: too many arguments to function ‘caio->iocb->ki_complete’
  108 |                 caio->iocb->ki_complete(caio->iocb, res, res2);
      |                 ^~~~
/home/vk/src/x/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_sgdma.c:123:9: error: too many arguments to function ‘caio->iocb->ki_complete’
  123 |         caio->iocb->ki_complete(caio->iocb, numbytes, -EBUSY);
      |         ^~~~
@hmaarrfk
Copy link

hmaarrfk commented Mar 9, 2022

Kernel 5.16 doesn't take the second argument anymore

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

Successfully merging a pull request may close this issue.

2 participants