From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by dpdk.org (Postfix) with ESMTP id E40D44C91 for ; Tue, 26 Feb 2019 22:34:35 +0100 (CET) Received: by mail-pl1-f193.google.com with SMTP id m10so6835216plt.10 for ; Tue, 26 Feb 2019 13:34:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=H7dLRx04lCdMNEVK/4E/OgKhznqwB2w/DMz8Fv0/erQ=; b=bc/LT0n7IgRKX+QwLm57kVR5Kkfh8kl7qESW2AJgL3vPTStWr2uAhmXyCdU1VSxRL7 2zhQ3k10jKKsYMb2v3z6f7QUIgiI/FNZs5uyGYCgkhoqpgiXRWnBOk42+F1kGcwb6DyR Q5XbQzkv2Sqxo94otvwbeuREMzEsH/fWGd4krSl1qu47TeB/X/os20Q2DDDeBrlfYo7Z befxhCfsyk8qgaRhbYwiXeKRDqap6r3aVhCDX+tfnSFSWemOMzN5J9046j1VEkZ+1Nzw AWlGOHiCrkzBxlhyZK/CaD35tu785pgZnGh94RTusoUCouJOARf4u87ak0oQcGxpfKCA BKqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=H7dLRx04lCdMNEVK/4E/OgKhznqwB2w/DMz8Fv0/erQ=; b=Hz0tki114a/b8BatMu+Slx765qf0fG2oVBuc5AJ/m2ZvcpmFG8GeoQpYCLOY3cGdHX wkbrC/AtoGjBPqG6WLPJeNHhiOrdgz6JUFYN6g3lCjyByoH95kpQjJFb/bsgvcN8Z4SU 6uCYrgaQqu+1lX1oSJ+ATh6DrOMB9D76aWCtQRMR2uTgj8l7c44IsQByWNAgVeYyfDcN R9g/KoCNoWP8rRMEEbb/hQ0WIPkP6dBBqV6BV4jO0lh2cWpfYo2PIkWxXflmwk37S2Vr lnboHN4RZMxD80xCOc1I6o7KfwFkwSkMqDktR7F5kK5P096Mi7d5Pxnhc2d6C/IW5xNo Vp5g== X-Gm-Message-State: AHQUAuYmR9X9UNO27Y0g48RHuIov/Nni+R2gUifL1TNKLYyDW5UTBfbk UsEHk5M+/YV0lpg4vO4yQU1RNFURBCE= X-Google-Smtp-Source: AHgI3IYYE8bthvIXDKKzLJMsgZvaRs2kENtydjtoSiyd4eBnFPKpj8JI9MQi2ar2d7wu47PlnT6OHA== X-Received: by 2002:a17:902:bf05:: with SMTP id bi5mr11247774plb.259.1551216874225; Tue, 26 Feb 2019 13:34:34 -0800 (PST) Received: from shemminger-XPS-13-9360.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id h75sm22191108pfd.150.2019.02.26.13.34.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Feb 2019 13:34:33 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Tue, 26 Feb 2019 13:34:24 -0800 Message-Id: <20190226213424.10567-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190226213424.10567-1-stephen@networkplumber.org> References: <20190226213424.10567-1-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH 5/5] sfc: don't use RTE_LOGTYPE_PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2019 21:34:36 -0000 The sfc driver was still using RTE_LOGTYPE_PMD which was superseded by local logging. Signed-off-by: Stephen Hemminger --- drivers/net/sfc/sfc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/sfc/sfc.c b/drivers/net/sfc/sfc.c index 898603884fa0..2cd7126015fd 100644 --- a/drivers/net/sfc/sfc.c +++ b/drivers/net/sfc/sfc.c @@ -1115,12 +1115,12 @@ sfc_register_logtype(const struct rte_pci_addr *pci_addr, ++lt_prefix_str_size; /* Reserve space for prefix separator */ lt_str_size_max = lt_prefix_str_size + PCI_PRI_STR_SIZE + 1; } else { - return RTE_LOGTYPE_PMD; + return sfc_logtype_driver; } lt_str = rte_zmalloc("logtype_str", lt_str_size_max, 0); if (lt_str == NULL) - return RTE_LOGTYPE_PMD; + return sfc_logtype_driver; strncpy(lt_str, lt_prefix_str, lt_prefix_str_size); lt_str[lt_prefix_str_size - 1] = '.'; -- 2.17.1