crypto/qat: make PCI device id struct const
PATCH 1/1 crypto/qat: make PCI device id struct const
Signed-off-by Ferruh Yigit <[email protected]>
--- drivers/crypto/qat/rte_qat_cryptodev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/qat/rte_qat_cryptodev.c +1 -1
@@ -67,7 +67,7 @@ static struct rte_cryptodev_ops crypto_qat_ops = {* The set of PCI devices this driver supports */ -static struct rte_pci_id pci_id_qat_map[] = { +static const struct rte_pci_id pci_id_qat_map[] = { {RTE_PCI_DEVICE (0x8086 ,0x0443 ), },
Signature · 1 line
2.9.3
Quoted 11 lines · Ferruh Yigit
Signed-off-by Ferruh Yigit <[email protected]>--- drivers/crypto/qat/rte_qat_cryptodev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/crypto/qat/rte_qat_cryptodev.c +0
-0
drivers/crypto/qat/rte_qat_cryptodev.c static struct rte_cryptodev_ops crypto_qat_ops = { · line 73
Quoted 8 lines
drivers/crypto/qat/rte_qat_cryptodev.c +1
-1@@ -67,7 +67,7 @@ static struct rte_cryptodev_ops crypto_qat_ops = {* The set of PCI devices this driver supports */ -static struct rte_pci_id pci_id_qat_map[] = { +static const struct rte_pci_id pci_id_qat_map[] = { {RTE_PCI_DEVICE (0x8086 ,0x0443 ), },
Acked-by Shreyansh Jain <[email protected]>
De Lara Guarch, Pablo
AppliedQuoted 24 lines
-----Original Message-----
From: Shreyansh Jain [mailto:[email protected]]
Sent: Friday, January 27, 2017 7:11 AM
To: Yigit, Ferruh
Cc: [email protected]; Thomas Monjalon; De Lara Guarch, Pablo
Subject: Re: [PATCH]crypto/qat: make PCI device id struct constReview
Quoted 6 lines · Ferruh Yigit
Signed-off-by Ferruh Yigit <[email protected]>--- drivers/crypto/qat/rte_qat_cryptodev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0
b/drivers/crypto/qat/rte_qat_cryptodev.cQuoted 7 lines
index 9594067..a492dc0 100644
drivers/crypto/qat/rte_qat_cryptodev.c +0
-0@@ -67,7 +67,7 @@ static struct rte_cryptodev_ops crypto_qat_ops = {* The set of PCI devices this driver supports */
Quoted 8 lines
drivers/crypto/qat/rte_qat_cryptodev.c static struct rte_cryptodev_ops crypto_qat_ops = { · line 73
Quoted 6 lines
drivers/crypto/qat/rte_qat_cryptodev.c +1
-1-static struct rte_pci_id pci_id_qat_map[] = { +static const struct rte_pci_id pci_id_qat_map[] = { {RTE_PCI_DEVICE (0x8086 ,0x0443 ), },Acked-by Shreyansh Jain <[email protected]>
Applied to dpdk-next-crypto.
Thanks,
Pablo