[dts] [PATCH] nics/net_device: fix a typo

Tu, Lijuan lijuan.tu at intel.com
Mon Jan 7 06:17:18 CET 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Rami Rosen
> Sent: Tuesday, January 1, 2019 8:50 PM
> To: dts at dpdk.org
> Cc: Rami Rosen <ramirose at gmail.com>
> Subject: [dts] [PATCH] nics/net_device: fix a typo
> 
> This patch fixes a typo in nics/net_device.
> 
> Signed-off-by: Rami Rosen <ramirose at gmail.com>
> ---
>  nics/net_device.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/nics/net_device.py b/nics/net_device.py index 4861145..03d96a3
> 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 = ('cat /sys/bus/pci/devices/%s\:%s\:%s/vendor' %
>                 (domain_id, bus_id, devfun_id))
>      out = crb.send_expect(command, "# ")
> -    vender = out[2:]
> +    vendor = out[2:]
>      command = ('cat /sys/bus/pci/devices/%s\:%s\:%s/device' %
>                 (domain_id, bus_id, devfun_id))
>      out = crb.send_expect(command, '# ')
>      device = out[2:]
> -    return "%s:%s" % (vender, device)
> +    return "%s:%s" % (vendor, device)
> 
> 
>  def add_to_list(host, obj):
> --
> 1.8.3.1



More information about the dts mailing list