* [dpdk-dev] [PATCH] crypto/qat: make PCI device id struct const
@ 2017-01-26 14:07 Ferruh Yigit
2017-01-27 7:10 ` Shreyansh Jain
0 siblings, 1 reply; 3+ messages in thread
From: Ferruh Yigit @ 2017-01-26 14:07 UTC (permalink / raw)
To: dev; +Cc: Ferruh Yigit, Thomas Monjalon, Pablo de Lara
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
drivers/crypto/qat/rte_qat_cryptodev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/qat/rte_qat_cryptodev.c b/drivers/crypto/qat/rte_qat_cryptodev.c
index 9594067..a492dc0 100644
--- a/drivers/crypto/qat/rte_qat_cryptodev.c
+++ b/drivers/crypto/qat/rte_qat_cryptodev.c
@@ -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),
},
--
2.9.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] crypto/qat: make PCI device id struct const
2017-01-26 14:07 [dpdk-dev] [PATCH] crypto/qat: make PCI device id struct const Ferruh Yigit
@ 2017-01-27 7:10 ` Shreyansh Jain
2017-01-27 8:37 ` De Lara Guarch, Pablo
0 siblings, 1 reply; 3+ messages in thread
From: Shreyansh Jain @ 2017-01-27 7:10 UTC (permalink / raw)
To: Ferruh Yigit; +Cc: dev, Thomas Monjalon, Pablo de Lara
On Thursday 26 January 2017 07:37 PM, Ferruh Yigit wrote:
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> ---
> drivers/crypto/qat/rte_qat_cryptodev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/crypto/qat/rte_qat_cryptodev.c b/drivers/crypto/qat/rte_qat_cryptodev.c
> index 9594067..a492dc0 100644
> --- a/drivers/crypto/qat/rte_qat_cryptodev.c
> +++ b/drivers/crypto/qat/rte_qat_cryptodev.c
> @@ -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 <shreyansh.jain@nxp.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] crypto/qat: make PCI device id struct const
2017-01-27 7:10 ` Shreyansh Jain
@ 2017-01-27 8:37 ` De Lara Guarch, Pablo
0 siblings, 0 replies; 3+ messages in thread
From: De Lara Guarch, Pablo @ 2017-01-27 8:37 UTC (permalink / raw)
To: Shreyansh Jain, Yigit, Ferruh; +Cc: dev, Thomas Monjalon
> -----Original Message-----
> From: Shreyansh Jain [mailto:shreyansh.jain@nxp.com]
> Sent: Friday, January 27, 2017 7:11 AM
> To: Yigit, Ferruh
> Cc: dev@dpdk.org; Thomas Monjalon; De Lara Guarch, Pablo
> Subject: Re: [PATCH] crypto/qat: make PCI device id struct const
>
> On Thursday 26 January 2017 07:37 PM, Ferruh Yigit wrote:
> > Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> > ---
> > drivers/crypto/qat/rte_qat_cryptodev.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/crypto/qat/rte_qat_cryptodev.c
> b/drivers/crypto/qat/rte_qat_cryptodev.c
> > index 9594067..a492dc0 100644
> > --- a/drivers/crypto/qat/rte_qat_cryptodev.c
> > +++ b/drivers/crypto/qat/rte_qat_cryptodev.c
> > @@ -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 <shreyansh.jain@nxp.com>
Applied to dpdk-next-crypto.
Thanks,
Pablo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-01-27 8:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-26 14:07 [dpdk-dev] [PATCH] crypto/qat: make PCI device id struct const Ferruh Yigit
2017-01-27 7:10 ` Shreyansh Jain
2017-01-27 8:37 ` De Lara Guarch, Pablo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).