Re: [PATCH] scsi: pm80xx: switch from 'pci_' to 'dma_' API

2021-02-20 Thread Christophe JAILLET
Please ignore. This one has already been applied, I'va attached the wrong patch. Sorry for the noise. CJ Le 20/02/2021 à 09:31, Christophe JAILLET a écrit : The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has

[PATCH] scsi: pm80xx: switch from 'pci_' to 'dma_' API

2021-02-20 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'pm8001_init_ccb_tag()' GFP_KERNEL can be used

Re: [PATCH] scsi: pm80xx: switch from 'pci_' to 'dma_' API

2021-01-22 Thread Martin K. Petersen
On Sun, 17 Jan 2021 14:24:45 +0100, Christophe JAILLET wrote: > The wrappers in include/linux/pci-dma-compat.h should go away. > > The patch has been generated with the coccinelle script below and has been > hand modified to replace GFP_ with a correct flag. > It has been compile tested. > >

Re: [PATCH] scsi: pm80xx: switch from 'pci_' to 'dma_' API

2021-01-20 Thread Martin K. Petersen
Christophe, > The wrappers in include/linux/pci-dma-compat.h should go away. > > The patch has been generated with the coccinelle script below and has > been hand modified to replace GFP_ with a correct flag. It has been > compile tested. Applied to 5.12/scsi-staging, thanks! -- Martin K.

Re: [PATCH] scsi: pm80xx: switch from 'pci_' to 'dma_' API

2021-01-17 Thread Jinpu Wang
On Sun, Jan 17, 2021 at 2:24 PM Christophe JAILLET wrote: > > The wrappers in include/linux/pci-dma-compat.h should go away. > > The patch has been generated with the coccinelle script below and has been > hand modified to replace GFP_ with a correct flag. > It has been compile tested. > > When

[PATCH] scsi: pm80xx: switch from 'pci_' to 'dma_' API

2021-01-17 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'pm8001_init_ccb_tag()' GFP_KERNEL can be used