-
- Downloads
scsi: message: fusion: Remove usage of the deprecated "pci-dma-compat.h" API
In [1], Christoph Hellwig has proposed to remove the wrappers in include/linux/pci-dma-compat.h. Some reasons why this API should be removed have been given by Julia Lawall in [2]. A coccinelle script has been used to perform the needed transformation. It can be found in [3]. In this patch, all functions but pci_alloc_consistent() are handled. pci_alloc_consistent() needs more attention and explanation. [1]: https://lore.kernel.org/kernel-janitors/20200421081257.GA131897@infradead.org/ [2]: https://lore.kernel.org/kernel-janitors/alpine.DEB.2.22.394.2007120902170.2424@hadrien/ [3]: https://lore.kernel.org/kernel-janitors/20200716192821.321233-1-christophe.jaillet@wanadoo.fr/ Link: https://lore.kernel.org/r/e38e897fbd3314718315b0e357c824e3f01775d6.1641500561.git.christophe.jaillet@wanadoo.fr Reviewed-by:Christoph Hellwig <hch@lst.de> Signed-off-by:
Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com>
Showing
- drivers/message/fusion/mptbase.c 50 additions, 44 deletionsdrivers/message/fusion/mptbase.c
- drivers/message/fusion/mptctl.c 30 additions, 21 deletionsdrivers/message/fusion/mptctl.c
- drivers/message/fusion/mptlan.c 48 additions, 42 deletionsdrivers/message/fusion/mptlan.c
- drivers/message/fusion/mptsas.c 26 additions, 25 deletionsdrivers/message/fusion/mptsas.c
Loading
Please register or sign in to comment