From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 1555A201 for ; Fri, 27 Jan 2017 09:37:52 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP; 27 Jan 2017 00:37:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,294,1477983600"; d="scan'208";a="813935039" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by FMSMGA003.fm.intel.com with ESMTP; 27 Jan 2017 00:37:51 -0800 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by IRSMSX107.ger.corp.intel.com (163.33.3.99) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 27 Jan 2017 08:37:50 +0000 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.173]) by irsmsx155.ger.corp.intel.com ([169.254.14.204]) with mapi id 14.03.0248.002; Fri, 27 Jan 2017 08:37:49 +0000 From: "De Lara Guarch, Pablo" To: Shreyansh Jain , "Yigit, Ferruh" CC: "dev@dpdk.org" , Thomas Monjalon Thread-Topic: [PATCH] crypto/qat: make PCI device id struct const Thread-Index: AQHSd92mN+OqpZNbyE6JC7yN4wZgPKFL6T8AgAAYPOA= Date: Fri, 27 Jan 2017 08:37:49 +0000 Message-ID: References: <20170126140744.21626-1-ferruh.yigit@intel.com> <6a3da59e-6fd5-6880-ecb9-57a7e1faddc6@nxp.com> In-Reply-To: <6a3da59e-6fd5-6880-ecb9-57a7e1faddc6@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmE1MmE1N2UtNWNhZi00YmE0LTkyMDctMjhjYjFlNDU4MTcwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6ImQ4VEtcL1ZnZnpDdWlicDlwUmhGU3VQRGE3cmdhblFVXC9rRjI0S3V2dzZEbz0ifQ== x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] crypto/qat: make PCI device id struct const X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2017 08:37:53 -0000 > -----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 >=20 > On Thursday 26 January 2017 07:37 PM, Ferruh Yigit wrote: > > Signed-off-by: Ferruh Yigit > > --- > > 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 =3D { > > * The set of PCI devices this driver supports > > */ > > > > -static struct rte_pci_id pci_id_qat_map[] =3D { > > +static const struct rte_pci_id pci_id_qat_map[] =3D { > > { > > RTE_PCI_DEVICE(0x8086, 0x0443), > > }, > > >=20 > Acked-by: Shreyansh Jain Applied to dpdk-next-crypto. Thanks, Pablo