From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A37CCA0471 for ; Tue, 16 Jul 2019 20:47:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AD5604C8D; Tue, 16 Jul 2019 20:47:38 +0200 (CEST) Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by dpdk.org (Postfix) with ESMTP id B430237B0 for ; Tue, 16 Jul 2019 20:47:37 +0200 (CEST) Received: by mail-pl1-f193.google.com with SMTP id i2so10582948plt.1 for ; Tue, 16 Jul 2019 11:47:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=9OQPAzBeMbp1Qbg2/gSEdCBEPAe/jRPuNZoLBbjlIzg=; b=DSF+/RSn6Bkf3U6IFwuKAAODu7HVfGfjBmOg5MlcVk5rRXg8xU7LlmeUIA9hBAexwL OcD3TKpZ5Q5YkMzUiKnKO+Eq5c5P0+DPlS2OOnU8hQtfdNPAupntKFPph4b4VZTnTju1 IUY5+2vwan5zUHZUuREQeyz6abXxMxwJqP4LHdWWYzbcotURAbOumInpS5sXkHGHD7KT goieXjJdJMykqW8ivxLPuyYmh140Pv/yrV63EmEeiLU81VKY1mIPP8w7a566y4AGUv0k c5nttQZhLpDfobcRRRKOXfiKBTAfQznEkdrDQ/cy1gEmCwF/Nw2oWEkGx+9JajvzZFt0 EQlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=9OQPAzBeMbp1Qbg2/gSEdCBEPAe/jRPuNZoLBbjlIzg=; b=tiwrrlQ4I9PNtcno8vUDZb6iBS+CjuH+A67ng20vOLJFhMm7ELatIOo8nq0PWFUyVm UZO73NB1j6kRhQPjGGv1c2AA/efSl9oejBzorewhSknP9oPyQOItz88B9cNVCDXXp+Zk 0D6o8+LWCmbctZ7x5MgmOm+3uLRVjIG8YPUklutcB4kCL8wnhj6BiL6Zs7LL29GFd0uX ITnw26byDJbLZg+5OwZZHQitbvbRH3gXM03cpec1RzPznu9YWjLZoe9Dqta5CFt/LbPj dxypUosoTSZForeC8FiRs0JZYNZti9ccmnJuHWOYkc1AtTwZxRJFlAVlot4Ir/OM4SBy frVg== X-Gm-Message-State: APjAAAWAeEBcN4K8gCYA9AnOpvv6K7fMOhiUe3dEQUHlz/ly15OFtoIE CAxF7/3DjG8rE7Fwb0/fgd+fWd07 X-Google-Smtp-Source: APXvYqyEdXEJTdp3YFjE6Jf2ipUpxUYQsW5lFEXeMTM2Z1bApVd8xyU9CauQtxjT6BgG2kFsEWUOFw== X-Received: by 2002:a17:902:9346:: with SMTP id g6mr37582114plp.61.1563302856926; Tue, 16 Jul 2019 11:47:36 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id f15sm22731525pje.17.2019.07.16.11.47.36 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 16 Jul 2019 11:47:36 -0700 (PDT) Date: Tue, 16 Jul 2019 11:47:30 -0700 From: Stephen Hemminger To: jerinj@marvell.com Cc: dev@dpdk.org Message-ID: <20190716114730.4b928469@hermes.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [dpdk-dev] [PATCH] net/octeontx: use logtype_init for failed probe 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" All log messages should use driver logtype. RTE_LOGTYPE_PMD is planned to be deprecated in the future. Signed-off-by: Stephen Hemminger --- drivers/net/octeontx/octeontx_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/octeontx/octeontx_ethdev.c b/drivers/net/octeontx/octeontx_ethdev.c index 1b853399dfe4..27eed47bb0cb 100644 --- a/drivers/net/octeontx/octeontx_ethdev.c +++ b/drivers/net/octeontx/octeontx_ethdev.c @@ -1175,7 +1175,7 @@ octeontx_probe(struct rte_vdev_device *dev) strlen(rte_vdev_device_args(dev)) == 0) { eth_dev = rte_eth_dev_attach_secondary(dev_name); if (!eth_dev) { - RTE_LOG(ERR, PMD, "Failed to probe %s\n", dev_name); + PMD_INIT_LOG(ERR, "Failed to probe %s", dev_name); return -1; } /* TODO: request info from primary to set up Rx and Tx */ -- 2.20.1