From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id E81A61B467 for ; Mon, 7 Jan 2019 06:17:22 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jan 2019 21:17:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,449,1539673200"; d="scan'208";a="264950412" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga004.jf.intel.com with ESMTP; 06 Jan 2019 21:17:21 -0800 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 6 Jan 2019 21:17:21 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 6 Jan 2019 21:17:21 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.196]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.150]) with mapi id 14.03.0415.000; Mon, 7 Jan 2019 13:17:19 +0800 From: "Tu, Lijuan" To: Rami Rosen , "dts@dpdk.org" Thread-Topic: [dts] [PATCH] nics/net_device: fix a typo Thread-Index: AQHUodCVROVdSBoilUeXQUG8ejtEsaWjTN1w Date: Mon, 7 Jan 2019 05:17:18 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0B9FDD98@SHSMSX101.ccr.corp.intel.com> References: <1546346980-3792-1-git-send-email-ramirose@gmail.com> In-Reply-To: <1546346980-3792-1-git-send-email-ramirose@gmail.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDE3ODViM2EtNTNlNy00MTFiLWJiZmMtZWIzOTk0ZGMxOTZiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibTQ4ZHRSdkxyeWRzNno2R283RDRqdWhtV1UweFJlRzVmSHVhZ1VPZUpOeWVGNzJCeU9NZDd0TkJVeW1nVU4zTyJ9 x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH] nics/net_device: fix a typo X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2019 05:17:23 -0000 Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Rami Rosen > Sent: Tuesday, January 1, 2019 8:50 PM > To: dts@dpdk.org > Cc: Rami Rosen > Subject: [dts] [PATCH] nics/net_device: fix a typo >=20 > This patch fixes a typo in nics/net_device. >=20 > Signed-off-by: Rami Rosen > --- > nics/net_device.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/nics/net_device.py b/nics/net_device.py index 4861145..03d96= a3 > 100644 > --- a/nics/net_device.py > +++ b/nics/net_device.py > @@ -848,12 +848,12 @@ def get_pci_id(crb, domain_id, bus_id, devfun_id): > command =3D ('cat /sys/bus/pci/devices/%s\:%s\:%s/vendor' % > (domain_id, bus_id, devfun_id)) > out =3D crb.send_expect(command, "# ") > - vender =3D out[2:] > + vendor =3D out[2:] > command =3D ('cat /sys/bus/pci/devices/%s\:%s\:%s/device' % > (domain_id, bus_id, devfun_id)) > out =3D crb.send_expect(command, '# ') > device =3D out[2:] > - return "%s:%s" % (vender, device) > + return "%s:%s" % (vendor, device) >=20 >=20 > def add_to_list(host, obj): > -- > 1.8.3.1