notooth1

Results 7 comments of notooth1

After following this [commit](https://github.com/Xilinx/dma_ip_drivers/pull/240/commits/594e39045fb032de90150e7fae0ec969eba9d8d5) to change the code, I still got some errors: ``` $ make Makefile:17: XVC_FLAGS: . make -C /lib/modules/5.14.0-427.22.1.el9_4.x86_64/build M=/mnt/Archive/Downloads/1/dma_ip_drivers/XDMA/linux-kernel/xdma modules make[1]: Entering directory '/usr/src/kernels/5.14.0-427.22.1.el9_4.x86_64' /mnt/Archive/Downloads/1/dma_ip_drivers/XDMA/linux-kernel/xdma/Makefile:17: XVC_FLAGS:...

I do not see the #defines in the commit.

I manually added the code changes and got some errors: ``` $ make Makefile:17: XVC_FLAGS: . make -C /lib/modules/5.14.0-427.22.1.el9_4.x86_64/build M=/mnt/Archive/Downloads/1/dma_ip_drivers/XDMA/linux-kernel/xdma modules make[1]: Entering directory '/usr/src/kernels/5.14.0-427.22.1.el9_4.x86_64' /mnt/Archive/Downloads/1/dma_ip_drivers/XDMA/linux-kernel/xdma/Makefile:17: XVC_FLAGS: . CC [M]...

Is there a patch file to apply all the commits? I am unable to change all the commit code manually.

I followed the post, but it did not work: ``` $ git config pull.rebase true $ git pull origin pull/240/head From https://github.com/Xilinx/dma_ip_drivers * branch refs/pull/240/head -> FETCH_HEAD fatal: It seems...

I still got this error: ``` $ git apply --stat 240.patch XDMA/linux-kernel/xdma/cdev_ctrl.c | 5 ++++ XDMA/linux-kernel/xdma/cdev_sgdma.c | 14 ++++++++++++ XDMA/linux-kernel/xdma/xdma_cdev.c | 4 ++++ XDMA/linux-kernel/xdma/xdma_mod.c | 4 ++-- XDMA/linux-kernel/xdma/cdev_ctrl.c | 4...

This fixed the issue: `vma->vm_flags |= VMEM_FLAGS;` and I faced other errors: ``` /mnt/Archive/Downloads/5/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_sgdma.c: In function ‘async_io_handler’: /mnt/Archive/Downloads/5/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_sgdma.c:109:17: error: too many arguments to function ‘caio->iocb->ki_complete’ 109 | caio->iocb->ki_complete(caio->iocb, res, res2);...