drivers/bus: reword slave process as secondary
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 15 Oct 2020 22:57:21 +0000 (15:57 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 20 Oct 2020 11:17:08 +0000 (13:17 +0200)
Correct wording is "secondary process".

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
drivers/bus/pci/pci_common_uio.c
drivers/bus/vmbus/vmbus_common_uio.c

index 793dfd0..318f9a1 100644 (file)
@@ -51,7 +51,8 @@ pci_uio_map_secondary(struct rte_pci_device *dev)
                        void *mapaddr = pci_map_resource(uio_res->maps[i].addr,
                                        fd, (off_t)uio_res->maps[i].offset,
                                        (size_t)uio_res->maps[i].size, 0);
-                       /* fd is not needed in slave process, close it */
+
+                       /* fd is not needed in secondary process, close it */
                        close(fd);
                        if (mapaddr != uio_res->maps[i].addr) {
                                RTE_LOG(ERR, EAL,
index 8e476f2..a689bf1 100644 (file)
@@ -85,7 +85,7 @@ vmbus_uio_map_secondary(struct rte_vmbus_device *dev)
                return -1;
        }
 
-       /* fd is not needed in slave process, close it */
+       /* fd is not needed in secondary process, close it */
        close(fd);
 
        dev->primary = uio_res->primary;