In order to convert this file to the dma_ API, 2 steps are proposed. The first one is purely mechanical. All the updated memory allocations can use GFP_KERNEL because of 'mpt_config()' calls. This function can sleep so it sounds like a reasonable assumption to use GFP_KERNEL. The 2nd patch is slighly more subtle. It is sent separatly to ease review. Christophe JAILLET (2): scsi: mptsas: switch from 'pci_' to 'dma_' API scsi: mptsas: switch from 'pci_' to 'dma_' API in 'mptsas_exp_repmanufacture_info()' drivers/message/fusion/mptsas.c | 138 ++++++++++++++++---------------- 1 file changed, 70 insertions(+), 68 deletions(-) -- 2.30.2