Open milo-gsi opened 1 year ago
CC [M] /usr/src/drivers/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_events.o CC [M] /usr/src/drivers/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_sgdma.o /usr/src/drivers/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_sgdma.c: In function ‘async_io_handler’: /usr/src/drivers/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); | ^~~~ /usr/src/drivers/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); | ^~~~ make[2]: *** [scripts/Makefile.build:321: /usr/src/drivers/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_sgdma.o] Error 1 make[1]: *** [Makefile:1923: /usr/src/drivers/dma_ip_drivers/XDMA/linux-kernel/xdma] Error 2 make[1]: Leaving directory '/usr/src/kernels/5.14.0-284.11.1.rt14.296.bea.gsi.el9.x86_64' make: *** [Makefile:41: all] Error 2
caused by the following change kiocb->ki_complete() cleanup from Jens Axboe
Just for reference, the patch that works for me (only tested on RHEL 9.2)
xdma.rhel9_2.patch
caused by the following change kiocb->ki_complete() cleanup from Jens Axboe
Just for reference, the patch that works for me (only tested on RHEL 9.2)
xdma.rhel9_2.patch