* [PATCH] flow: fix wrong macro name in comments
@ 2025-05-06 14:13 Laurent Vivier
2025-05-07 2:10 ` David Gibson
2025-05-08 14:54 ` Stefano Brivio
0 siblings, 2 replies; 3+ messages in thread
From: Laurent Vivier @ 2025-05-06 14:13 UTC (permalink / raw)
To: passt-dev; +Cc: Laurent Vivier
The maximum number of flow macro name is FLOW_MAX, not MAX_FLOW.
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
---
flow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flow.c b/flow.c
index c5718e3c7bf7..6a5c8aa439c2 100644
--- a/flow.c
+++ b/flow.c
@@ -81,7 +81,7 @@ static_assert(ARRAY_SIZE(flow_proto) == FLOW_NUM_TYPES,
*
* Free cluster list
* flow_first_free gives the index of the first (lowest index) free cluster.
- * Each free cluster has the index of the next free cluster, or MAX_FLOW if
+ * Each free cluster has the index of the next free cluster, or FLOW_MAX if
* it is the last free cluster. Together these form a linked list of free
* clusters, in strictly increasing order of index.
*
--
@@ -81,7 +81,7 @@ static_assert(ARRAY_SIZE(flow_proto) == FLOW_NUM_TYPES,
*
* Free cluster list
* flow_first_free gives the index of the first (lowest index) free cluster.
- * Each free cluster has the index of the next free cluster, or MAX_FLOW if
+ * Each free cluster has the index of the next free cluster, or FLOW_MAX if
* it is the last free cluster. Together these form a linked list of free
* clusters, in strictly increasing order of index.
*
--
2.49.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] flow: fix wrong macro name in comments
2025-05-06 14:13 [PATCH] flow: fix wrong macro name in comments Laurent Vivier
@ 2025-05-07 2:10 ` David Gibson
2025-05-08 14:54 ` Stefano Brivio
1 sibling, 0 replies; 3+ messages in thread
From: David Gibson @ 2025-05-07 2:10 UTC (permalink / raw)
To: Laurent Vivier; +Cc: passt-dev
[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]
On Tue, May 06, 2025 at 04:13:25PM +0200, Laurent Vivier wrote:
> The maximum number of flow macro name is FLOW_MAX, not MAX_FLOW.
>
> Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
> ---
> flow.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/flow.c b/flow.c
> index c5718e3c7bf7..6a5c8aa439c2 100644
> --- a/flow.c
> +++ b/flow.c
> @@ -81,7 +81,7 @@ static_assert(ARRAY_SIZE(flow_proto) == FLOW_NUM_TYPES,
> *
> * Free cluster list
> * flow_first_free gives the index of the first (lowest index) free cluster.
> - * Each free cluster has the index of the next free cluster, or MAX_FLOW if
> + * Each free cluster has the index of the next free cluster, or FLOW_MAX if
> * it is the last free cluster. Together these form a linked list of free
> * clusters, in strictly increasing order of index.
> *
--
David Gibson (he or they) | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you, not the other way
| around.
http://www.ozlabs.org/~dgibson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] flow: fix wrong macro name in comments
2025-05-06 14:13 [PATCH] flow: fix wrong macro name in comments Laurent Vivier
2025-05-07 2:10 ` David Gibson
@ 2025-05-08 14:54 ` Stefano Brivio
1 sibling, 0 replies; 3+ messages in thread
From: Stefano Brivio @ 2025-05-08 14:54 UTC (permalink / raw)
To: Laurent Vivier; +Cc: passt-dev
On Tue, 6 May 2025 16:13:25 +0200
Laurent Vivier <lvivier@redhat.com> wrote:
> The maximum number of flow macro name is FLOW_MAX, not MAX_FLOW.
>
> Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Applied.
--
Stefano
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-05-08 14:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-06 14:13 [PATCH] flow: fix wrong macro name in comments Laurent Vivier
2025-05-07 2:10 ` David Gibson
2025-05-08 14:54 ` Stefano Brivio
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).