summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi/be_main.h
diff options
context:
space:
mode:
authorRomain Perier2017-07-06 10:13:03 +0200
committerMartin K. Petersen2017-08-07 20:04:01 +0200
commitaf007b022bfd0c73e7f93f66c58533cd9c2f2edd (patch)
tree046dfc6cd8b855760f93b1f1bbfdda147499f3a6 /drivers/scsi/be2iscsi/be_main.h
parentscsi: g_NCR5380: Two DTC436 PDMA workarounds (diff)
downloadkernel-qcow2-linux-af007b022bfd0c73e7f93f66c58533cd9c2f2edd.tar.gz
kernel-qcow2-linux-af007b022bfd0c73e7f93f66c58533cd9c2f2edd.tar.xz
kernel-qcow2-linux-af007b022bfd0c73e7f93f66c58533cd9c2f2edd.zip
scsi: be2iscsi: Replace PCI pool old API
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier <romain.perier@collabora.com> Acked-by: Peter Senna Tschudin <peter.senna@collabora.com> Tested-by: Peter Senna Tschudin <peter.senna@collabora.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_main.h')
-rw-r--r--drivers/scsi/be2iscsi/be_main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h
index 338dbe0800c1..81ce3ffda968 100644
--- a/drivers/scsi/be2iscsi/be_main.h
+++ b/drivers/scsi/be2iscsi/be_main.h
@@ -438,7 +438,7 @@ struct beiscsi_hba {
test_bit(BEISCSI_HBA_ONLINE, &phba->state))
struct beiscsi_session {
- struct pci_pool *bhs_pool;
+ struct dma_pool *bhs_pool;
};
/**