drivers/bus: reword slave process as secondary

Correct wording is "secondary process".

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
This commit is contained in:
Stephen Hemminger 2020-10-15 15:57:21 -07:00 committed by Thomas Monjalon
parent cb056611a8
commit 20b6fd653f
2 changed files with 3 additions and 2 deletions

View 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,

View 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;