Message ID | 20230220233556.168553-8-stephen@networkplumber.org (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Thomas Monjalon |
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DA46D41CF1; Tue, 21 Feb 2023 00:36:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EBADA43139; Tue, 21 Feb 2023 00:36:12 +0100 (CET) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id B68E643120 for <dev@dpdk.org>; Tue, 21 Feb 2023 00:36:05 +0100 (CET) Received: by mail-pf1-f169.google.com with SMTP id fb30so1307454pfb.13 for <dev@dpdk.org>; Mon, 20 Feb 2023 15:36:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; 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=/qg6n21gkqP1/KVHJbW9jEJA/i9qgeMJfcXqgMCDxHo=; b=a1IFUwuv8HrqMXiRPhaq+tVu4wQyfNFqT+zE01Aj2PVB2vJ20d3f4XQ1RQQ8Fg6hx+ 6YMI0cYPzRaLqsYTY5cvQDXZRJACLBNER/1VEOZY0wHhWbI2FM1nX69g/PXoCcbIGN0k tm+oNQVpRCdCZazN9bxonBoQGEIkeQjb1o9jK6C2gfEFG90LxYxKw4pa/eM5l+wmZ06W vU3TOy5FJRow4aNwFR6+BTgIX+nNsO1BDwQc1pC0RY5VBSezKy5ygnMo32HWAMuOjbxo z+2skeulKp5ppg5rZ+U0PA9SaHDnYqzHFkBCGJIGv99/XO0YzafKtfXLTR0Y/vs/7GBU hTYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=/qg6n21gkqP1/KVHJbW9jEJA/i9qgeMJfcXqgMCDxHo=; b=zIgdocTte5ZNyY6r4KgtglYdZpOMJd6XcOOmYRk7v4KTepEU/xi+n5jTeDkLj7tXLf RJSlZ6ehrpWwnIVrcuvWTTqiH0aiqb0nkQhnWuu+2+AN4GdS0MIbObiaPRap7z7WXX8A Lvc8jY7EOlhizvKwhdL0VUuHHpnICKF4Fh8x/4KVe1MAtbwuOKkgzieKyfcWrCKLSjlv MzHPBYtwjj/LCnZHoShgPucZmMMKnIOpgE1aktXH3EqUnOYWjZkW4Fg0imLZAFKc6nOH qWD9TBytSfeBCPuAqSXYW7wods2bBWp/BrEv/vUotiujKfNv+eSuRsu4zjS1DOn5kGbW jGbQ== X-Gm-Message-State: AO0yUKU7RXLI5UjaDpFW8K8doRx94fedG5pH02wqA66fa5735gz3xIEZ EjCGCu4UTQjIR6T+41NGZ+JhKr99BuM7VYCRmGk= X-Google-Smtp-Source: AK7set+vInYmZbW5NvhuW2p1jwZlUKS4eFsiua7LCQ2n+UR0M8rK8czHyuxyEanrkYaaCNNXmEEbNg== X-Received: by 2002:a62:524b:0:b0:5a8:adc8:6de1 with SMTP id g72-20020a62524b000000b005a8adc86de1mr1961477pfb.29.1676936164630; Mon, 20 Feb 2023 15:36:04 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id q19-20020a62e113000000b005a8dc935ec1sm8215908pfh.62.2023.02.20.15.36.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 15:36:03 -0800 (PST) From: Stephen Hemminger <stephen@networkplumber.org> To: dev@dpdk.org Cc: Stephen Hemminger <stephen@networkplumber.org> Subject: [PATCH v8 07/22] examples/power: replace use of RTE_LOGTYPE_POWER Date: Mon, 20 Feb 2023 15:35:41 -0800 Message-Id: <20230220233556.168553-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230220233556.168553-1-stephen@networkplumber.org> References: <20230207204151.1503491-1-stephen@networkplumber.org> <20230220233556.168553-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 |
Series |
Convert static logtypes in libraries
|
|
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
Commit Message
Stephen Hemminger
Feb. 20, 2023, 11:35 p.m. UTC
Don't use static logtype in sample application.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
examples/distributor/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/distributor/main.c b/examples/distributor/main.c index 21304d661873..542f76cf9664 100644 --- a/examples/distributor/main.c +++ b/examples/distributor/main.c @@ -679,7 +679,7 @@ init_power_library(void) /* init power management library */ ret = rte_power_init(lcore_id); if (ret) { - RTE_LOG(ERR, POWER, + fprintf(stderr, "Library initialization failed on core %u\n", lcore_id); /*