bus/vmbus: fix comment spelling
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 30 Apr 2020 19:08:48 +0000 (12:08 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 May 2020 20:27:39 +0000 (22:27 +0200)
No code change here.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/bus/vmbus/linux/vmbus_uio.c
drivers/bus/vmbus/vmbus_common.c

index 10e50c9..5451bfd 100644 (file)
@@ -165,7 +165,7 @@ vmbus_uio_map_resource_by_index(struct rte_vmbus_device *dev, int idx,
        dev->resource[idx].addr = mapaddr;
        vmbus_map_addr = RTE_PTR_ADD(mapaddr, size);
 
-       /* Record result of sucessful mapping for use by secondary */
+       /* Record result of successful mapping for use by secondary */
        maps[idx].addr = mapaddr;
        maps[idx].size = size;
 
index 48a219f..3adef01 100644 (file)
@@ -131,7 +131,7 @@ vmbus_probe_one_driver(struct rte_vmbus_driver *dr,
 }
 
 /*
- * IF device class GUID mathces, call the probe function of
+ * If device class GUID matches, call the probe function of
  * registere drivers for the vmbus device.
  * Return -1 if initialization failed,
  * and 1 if no driver found for this device.