From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 9EE31436D9;
	Wed, 13 Dec 2023 05:19:30 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 560D442E89;
	Wed, 13 Dec 2023 05:19:25 +0100 (CET)
Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com
 [209.85.214.182])
 by mails.dpdk.org (Postfix) with ESMTP id EAF2A402D1
 for <dev@dpdk.org>; Wed, 13 Dec 2023 05:19:23 +0100 (CET)
Received: by mail-pl1-f182.google.com with SMTP id
 d9443c01a7336-1d3470496e2so8666255ad.1
 for <dev@dpdk.org>; Tue, 12 Dec 2023 20:19:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702441163;
 x=1703045963; darn=dpdk.org; 
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=Zam57DXhoVgsLKQXxSxZ2llaUDjy6Ax1uwFhhU+P9Ho=;
 b=z0zXOxP1WD2DlqGNCemCTswfhUnAS8aVAQYt4rHJU/8BoZAxsEBjW6AHmFKnpTIuxW
 iXjHeBMIkdeXDH/NV8C8KPWHEtATx2trHWNfiXRnfcW/Lro0/hp8LjVbKM+ayC08dGVb
 Z0mXkSYetxyRCie5N+KzarzRugwq5rdOYILLBuQo83dKtPYT3JiBbUKJKZKONXTr+Xnj
 LyntPnqY8qB5P/w2Ll4b8xSDzgJ/qPn0IRhRjxEc2G7OSPqFIlsSKW4kQ7P9s+BA5Sn3
 T4WrKDfwzTU/+gToHniRauvNn/DHPoFzVXdHZT/APdR1X9QV0zyb1+WL3XZpt6QZ6k2g
 hMXQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1702441163; x=1703045963;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=Zam57DXhoVgsLKQXxSxZ2llaUDjy6Ax1uwFhhU+P9Ho=;
 b=hPbMUS2nXJmo4FaWpoYTPl0DPrUBWjjGtmbfG06EaxVF1nJc0hEdMm2r5cWCp77jBZ
 kMwj+zx1aIajwoRpYoWFNm8uW+jvbup8lZ6vOIO+6MLQUQGkM/ieKFNxQeBpQY8Q9bF3
 H7IrtpGqVOvCffjx+cSGP0eNdP8hsaQXCL6UxAUY5wGPeX8h5p2NIU0ZoIhr1PYt3LH1
 wqx5ff00l+OoZmz0NWE+2Jo/5kGAcbZlv2LmwjUu4YuMW7kLoHkgpHRY00+b3cWV4aM7
 eGlliPy/Hp8REnFgRM0GrFlkBESE9AjeIJAa7UQjKExcjgFSGiXaYvgbuCDDqH6N36fZ
 1rPQ==
X-Gm-Message-State: AOJu0YzxAy01idAfpnBv5wQOCtjCbDg7/qOQPSITvpt6RmIlaoK8qB8I
 HhXGbMmGtvbjXviAy8gikyz19VZYFy+X2RKVgKU=
X-Google-Smtp-Source: AGHT+IFmfi9RVb3B6l1esAIhbM5rc9yfprA7vddcjZDfPJrrnOH2xNe3DYBDrO3QpC6xFZhdEh9xig==
X-Received: by 2002:a17:902:684d:b0:1d0:47da:485a with SMTP id
 f13-20020a170902684d00b001d047da485amr6911229pln.1.1702441163186; 
 Tue, 12 Dec 2023 20:19:23 -0800 (PST)
Received: from hermes.lan (204-195-123-141.wavecable.com. [204.195.123.141])
 by smtp.gmail.com with ESMTPSA id
 p12-20020a170902e74c00b001d077da4ac4sm9340888plf.212.2023.12.12.20.19.22
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 12 Dec 2023 20:19:22 -0800 (PST)
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>,
 Olivier Matz <olivier.matz@6wind.com>
Subject: [PATCH v2 01/25] log: fix doc comment for RTE_LOG_DP()
Date: Tue, 12 Dec 2023 20:16:28 -0800
Message-ID: <20231213041920.729403-2-stephen@networkplumber.org>
X-Mailer: git-send-email 2.42.0
In-Reply-To: <20231213041920.729403-1-stephen@networkplumber.org>
References: <20231213014408.612051-1-stephen@networkplumber.org>
 <20231213041920.729403-1-stephen@networkplumber.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

The macro does not return a numeric status, only void.

Fixes: 5d8f0baf69ea ("log: do not drop debug logs at compile time")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/log/rte_log.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/log/rte_log.h b/lib/log/rte_log.h
index 4d207b8da2cd..bbbb051c20e2 100644
--- a/lib/log/rte_log.h
+++ b/lib/log/rte_log.h
@@ -348,9 +348,6 @@ int rte_vlog(uint32_t level, uint32_t logtype, const char *format, va_list ap)
  * @param ...
  *   The fmt string, as in printf(3), followed by the variable arguments
  *   required by the format.
- * @return
- *   - 0: Success.
- *   - Negative on error.
  */
 #define RTE_LOG_DP(l, t, ...)					\
 	(void)((RTE_LOG_ ## l <= RTE_LOG_DP_LEVEL) ?		\
-- 
2.42.0