From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=DELuAV8F; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTPS id B39955A0277 for ; Tue, 06 May 2025 16:13:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1746540811; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=s2eDHBv2pMCtTLDR71YYDWrx9+in4m3ggPX6l79TvzQ=; b=DELuAV8Fe/f0tAHe5i3mbguHTuPbxKJNc0gfbLjwUUfrNLMhdNo3/+QklSsqwmZ24aXS9X j/oCQnQmaiy3ip3lCuDMbN6wcdL0K6qENjcXBWs09XhqH6nHVGKNgZa+j3Zu/E3G1vGrHS lRzj/OSx14bb7I1maPU+IcNlVxr+Mbc= Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-608-NCY0iKYQMo6THcpr1yB8GA-1; Tue, 06 May 2025 10:13:30 -0400 X-MC-Unique: NCY0iKYQMo6THcpr1yB8GA-1 X-Mimecast-MFC-AGG-ID: NCY0iKYQMo6THcpr1yB8GA_1746540809 Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7AC591955D81 for ; Tue, 6 May 2025 14:13:29 +0000 (UTC) Received: from lenovo-t14s.redhat.com (unknown [10.44.32.213]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 5EA7219560B2; Tue, 6 May 2025 14:13:28 +0000 (UTC) From: Laurent Vivier To: passt-dev@passt.top Subject: [PATCH] flow: fix wrong macro name in comments Date: Tue, 6 May 2025 16:13:25 +0200 Message-ID: <20250506141325.185455-1-lvivier@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: CwZkihcviwGkrh_U1VlaAQ00-bAMAz7TtFwRgXbxkc8_1746540809 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true Message-ID-Hash: RDCBFEIFJ2MDKUHYVVT53BPFYX53FXG3 X-Message-ID-Hash: RDCBFEIFJ2MDKUHYVVT53BPFYX53FXG3 X-MailFrom: lvivier@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Laurent Vivier X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The maximum number of flow macro name is FLOW_MAX, not MAX_FLOW. Signed-off-by: Laurent Vivier --- 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. * -- 2.49.0