* [dts] [PATCH] nics/net_device: fix a typo
@ 2019-01-01 12:49 Rami Rosen
2019-01-07 5:17 ` Tu, Lijuan
0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2019-01-01 12:49 UTC (permalink / raw)
To: dts; +Cc: Rami Rosen
This patch fixes a typo in nics/net_device.
Signed-off-by: Rami Rosen <ramirose@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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH] nics/net_device: fix a typo
2019-01-01 12:49 [dts] [PATCH] nics/net_device: fix a typo Rami Rosen
@ 2019-01-07 5:17 ` Tu, Lijuan
0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-01-07 5:17 UTC (permalink / raw)
To: Rami Rosen, dts
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 <ramirose@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@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-07 5:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01 12:49 [dts] [PATCH] nics/net_device: fix a typo Rami Rosen
2019-01-07 5:17 ` Tu, Lijuan
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).