Skip to contentSkip to conversation

bus/pci: fix a typo

PATCH In review Rami Rosen 3 participants 4 messages Jul 26, 2018

lore
Share & tools
lore

Rami Rosen

author
#0 lore raw

PATCH 1/1 bus/pci: fix a typo

This patch fixes a trivial typo in pci_common.c.

---
 drivers/bus/pci/pci_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bus/pci/pci_common.c +1 -1
index 94b0f41..8253a50 100644
@@ -72,7 +72,7 @@ static struct rte_devargs *pci_devargs_lookup(struct rte_pci_device *dev)
 	 */
 	if (devargs != NULL)
 		/* If an rte_devargs exists, the generic rte_device uses the
-		 * given name as its namea
+		 * given name as its name
 		 */
 		dev->device.name = dev->device.devargs->name;
 	else
Signature · 1 line
1.9.1
#2 lore raw
In reply to Rami Rosen

26/07/2018 20:31, Rami Rosen:

Quoted 3 lines

This patch fixes a trivial typo in pci_common.c.

Fixes 23eaa9059ec2 ("bus/pci: use given name as generic name")

drivers/bus/pci/pci_common.c static struct rte_devargs *pci_devargs_lookup(struct rte_pci_device *dev) · line 76

Quoted 7 lines
drivers/bus/pci/pci_common.c +1 -1
 	if (devargs != NULL)
 		/* If an rte_devargs exists, the generic rte_device uses the
-		 * given name as its namea
+		 * given name as its name
 		 */

You can replace the "a" by a dot.

Applied with above changes, thanks.

#3 lore raw
Quoted 28 lines

-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Thursday, July 26, 2018 8:21 PM
To: Rosen, Rami <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; Mcnamara, John <[email protected]>
Subject: Re: [dpdk-stable] [PATCH] bus/pci: fix a typo

26/07/2018 20:31, Rami Rosen:

Quoted 3 lines

This patch fixes a trivial typo in pci_common.c.

Fixes 23eaa9059ec2 ("bus/pci: use given name as generic name")

drivers/bus/pci/pci_common.c static struct rte_devargs *pci_devargs_lookup(struct rte_pci_device *dev) · line 76

Quoted 7 lines
drivers/bus/pci/pci_common.c +1 -1
 	if (devargs != NULL)
 		/* If an rte_devargs exists, the generic rte_device uses the
-		 * given name as its namea
+		 * given name as its name
 		 */

You can replace the "a" by a dot.

Quoted 1 line

Applied with above changes, thanks.

Yes. I like to see comments as properly punctuated sentences. other people have other preferences