[PATCH 06/14] net/vdev_netvsc: replace use of term abort
Stephen Hemminger
stephen at networkplumber.org
Fri Aug 18 04:52:41 CEST 2023
Replace abort with cancel.
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
drivers/net/vdev_netvsc/vdev_netvsc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/vdev_netvsc/vdev_netvsc.c b/drivers/net/vdev_netvsc/vdev_netvsc.c
index c3e045d892b7..1a9c03c0f0b1 100644
--- a/drivers/net/vdev_netvsc/vdev_netvsc.c
+++ b/drivers/net/vdev_netvsc/vdev_netvsc.c
@@ -141,7 +141,7 @@ vdev_netvsc_iface_is_netvsc(const struct if_nameindex *iface)
* the system.
*
* @param func
- * Callback function pointer. List traversal is aborted when this function
+ * Callback function pointer. List traversal is terminated when this function
* returns a nonzero value.
* @param is_netvsc
* Indicates the device type to iterate - netvsc or non-netvsc.
@@ -151,7 +151,7 @@ vdev_netvsc_iface_is_netvsc(const struct if_nameindex *iface)
* @return
* 0 when the entire list is traversed successfully, a negative error code
* in case or failure, or the nonzero value returned by @p func when list
- * traversal is aborted.
+ * traversal is terminated.
*/
static int
vdev_netvsc_foreach_iface(int (*func)(const struct if_nameindex *iface,
--
2.39.2
More information about the dev
mailing list