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:
parent
cb056611a8
commit
20b6fd653f
@ -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,
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user