From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id DAF2C23A for ; Thu, 24 May 2018 14:18:10 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id i12-v6so2728564wrc.4 for ; Thu, 24 May 2018 05:18:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding; bh=LbFr7sJ24+xlJGeVA0QW9KcmqctlpXxEYluDQSYOEo8=; b=Rn4s8e8qsvm6puPV8uT/8wIvFS6cTfPfFJUHWDCia3tMsOSINGWmQXPjIFD5pAH/o7 vEB98eWG5fDNk2+I+bS+48z9H6Yj+lgT/JsIWGg/r0n2/sG1FSF5n9kg8hbqKk+XjseU UJ6p8ewt7dkvjbdkr+iauShZB18383IuPBXUQRFhjilebrQfaEQjVFi2G+GRUcnnBRxC YK2RYRGcdWURT9EZ75CMrlP+xyyN/e+wywV/7JRENmkqA6gLhZx6OKlhs8KxRfL+8YwA q7hA049BgO6ly+k4hDxsmRuZLRISq7f/EfO4K5SQ8xjcrRwjGvvNOJIrp+KSwZlVKTBx DlLA== 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-disposition:content-transfer-encoding; bh=LbFr7sJ24+xlJGeVA0QW9KcmqctlpXxEYluDQSYOEo8=; b=LVZYAQkNXotGbZe6TyKar2nUXbX6RNmedQU8OTNHJ6hHHLYshNLieGwF8v50czLKXK mTvfNTW5Zm43lc3UEWe47x8Z+rvUrxXvYW9sWinQyQzdfaruLhSwFANPFRQClfoOriqR vFfALGbxoU5oFdulPv96f1SYlnGkoFx1omLlY8n+kcJXxgPMtMBpX8a5GjgKnBAaF/BC RTV/tUZs8KLhe2PpbUhgLJivFwLcejUJuprbHZ3cOVKblwHD9ZgSUsLTfQK6e3poedjs /kednZkK5CKogEIIhvkk4qFt8dWrL4Bop4+mQ0l+UQkJLx/n06IVGcJXrnW8e9y6YcsF s/lQ== X-Gm-Message-State: ALKqPwdWyqMxQ3gTpUXT53iGnnqOzTuI7j6WVTmuaN4vNkonhxm8W8JK vkXeFgrF899pzjagG+JkOGsHiizn X-Google-Smtp-Source: AB8JxZqsJr/8/vZKzr4+AMOkNV6wdaA3Iu8Jm0r9pRBl4MVmGTFnHhbMJ21JP9xa0kpPJ6UHfEA+mw== X-Received: by 2002:adf:f801:: with SMTP id s1-v6mr6640621wrp.63.1527164290616; Thu, 24 May 2018 05:18:10 -0700 (PDT) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id n17-v6sm15589334wra.3.2018.05.24.05.18.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 05:18:09 -0700 (PDT) Date: Thu, 24 May 2018 14:17:55 +0200 From: Adrien Mazarguil To: Shahaf Shuler Cc: dev@dpdk.org, =?utf-8?B?TsOpbGlv?= Laranjeiro Message-ID: <20180524121658.22663-1-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH 1/2] net/mlx5: fix errno object in probe code (minor) 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: Thu, 24 May 2018 12:18:11 -0000 Fixes: a6d83b6a9209 ("net/mlx5: standardize on negative errno values") Cc: NĂ©lio Laranjeiro Signed-off-by: Adrien Mazarguil --- drivers/net/mlx5/mlx5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index 8d1c2347e..bbe78de28 100644 --- a/drivers/net/mlx5/mlx5.c +++ b/drivers/net/mlx5/mlx5.c @@ -1058,7 +1058,7 @@ mlx5_pci_probe(struct rte_pci_driver *pci_drv __rte_unused, DRV_LOG(ERR, "port %u cannot get MAC address, is mlx5_en" " loaded? (errno: %s)", - eth_dev->data->port_id, strerror(errno)); + eth_dev->data->port_id, strerror(rte_errno)); err = ENODEV; goto port_error; } -- 2.11.0