From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 78C2A436D8; Wed, 13 Dec 2023 02:44:20 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2249242E6C; Wed, 13 Dec 2023 02:44:15 +0100 (CET) Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com [209.85.167.178]) by mails.dpdk.org (Postfix) with ESMTP id DE78E40269 for ; Wed, 13 Dec 2023 02:44:12 +0100 (CET) Received: by mail-oi1-f178.google.com with SMTP id 5614622812f47-3b844357f7cso4871931b6e.1 for ; Tue, 12 Dec 2023 17:44:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702431852; x=1703036652; 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=exsxuBXpmuwWIf6Fgv1hekoxwpmh+qUT2qc+Btqu2ZXqDLN9iFkfTwX9sl3kiv3N6e oB8UKfVksDtgC5UnKXklGD2S/sd+h4n/AAe08Ne5aCEzDBFWyt/P7xGqCeZwTD5c2QeV aZgmLYFtIfPZGk+TqTCY8Cmn4jsEy2kc+j2558xmW6zD5tjLaI8pZGNXbdyZczubjDrb k0fK13qmFllPx//MDhCFM2ayByCavQrq866WiUACsGWYV61zyPJcTmOC8XYKAGssY7BU vjRkn+HGmBMLPXpoCSbXU+zuWlMmW6iIjyJzfIqQjkeZe6PgCUS02UGrzFW+bIzFkMAI KX4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702431852; x=1703036652; 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=DvfQJoi4/cQ2rwBPfGcHUm4SUYqIg9eLTKfNDrpGJ5OpbeMg6137L/L/nZOk3097Qa wOEJSrbkBtBo2ovcAmSAc4Hak3R5B+RCGgSKiy/XJc4diudU+KNUwcsPxsgOwQ0vEi25 dSyDX6fnKp+zFQ8823qOXcdWad3KSg8Gs7QnpBWBcSrU+IzIFsxyMefuJs8bl+X9fAy2 H2cIFaMtJuiv8Cjh8ZJTsvdyVPa5iHidLUplX734zRnrbhDENUaoxO8bTVB7uITwmH7H Y9gcLVxdP4mu+njSXkiAH44cXEeeDC+Il4Tai0TNLKfVdhWxPhKZd6WNJi5lr7EKiHCi sQGQ== X-Gm-Message-State: AOJu0Yw0ImvJS0xnGdvEzqOHDYR/pYBvd8l6L6mpzMsWtgwhBgPxfLec vEePiEi3Tb8JWAcS2TVx1pJ2C6087TVYN46pZokj/w== X-Google-Smtp-Source: AGHT+IHeWoHUkyH6J2SlLBxVD5KoF3i2wY9D9ijaJwPVA99I4OljLpHAmm7mK+sHbHFobp27BisUxA== X-Received: by 2002:a05:6808:1183:b0:3b8:b063:6bb2 with SMTP id j3-20020a056808118300b003b8b0636bb2mr8902137oil.97.1702431852161; Tue, 12 Dec 2023 17:44:12 -0800 (PST) Received: from hermes.lan (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id f7-20020aa79d87000000b006ce5b4ade28sm8988375pfq.174.2023.12.12.17.44.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 17:44:11 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Olivier Matz Subject: [PATCH 01/26] log: fix doc comment for RTE_LOG_DP() Date: Tue, 12 Dec 2023 17:42:17 -0800 Message-ID: <20231213014408.612051-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231213014408.612051-1-stephen@networkplumber.org> References: <20231213014408.612051-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 --- 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