[dpdk-dev] [PATCH] crypto/qat: make PCI device id struct const

Shreyansh Jain shreyansh.jain at nxp.com
Fri Jan 27 08:10:50 CET 2017


On Thursday 26 January 2017 07:37 PM, Ferruh Yigit wrote:
> Signed-off-by: Ferruh Yigit <ferruh.yigit at 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 at nxp.com>


More information about the dev mailing list