From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id AF02C2E8B for ; Tue, 11 Jul 2017 19:10:58 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4723120791; Tue, 11 Jul 2017 13:10:58 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 11 Jul 2017 13:10:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=dhO6TyZcT8mIGyCtQ3bNTC4Tl/E r866V6q3P9UdPsgk=; b=KvPzbgjYmVpHTmBNH2uIVCn8jr5jXlN1mRadXZZJhtb Ix0VSF6oxawOMDR9z/3h0SLaTb2flDJ3CBAVnrUwgMuCmeLswfl+8H1chcdpWAZZ lpnWcRmCfmGAfybs0zcQCxVspSBO7hh6y6uPRFQqPT2fjy2w3gc6zG7ZUZusOsvY = DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=dhO6Ty ZcT8mIGyCtQ3bNTC4Tl/Er866V6q3P9UdPsgk=; b=SJdQQFN7Wb4LZQISQRIDtx kE2RSfoVF8yC395CwdZH3irlWUKi+TlXNvyTb1JbofO23AcBQrMunTtO5nGfYWfS 5Q9c1h/DX8vA/jJuJlBiisntU2rCVG8zWwFMGRtoXSj0onL0OZ5mDAQQ1ssEJ/Vl VZMYhYm7Gxk9k3Uc3ggBYNQm331i0bOGCLtxW5StX+LJEEjiS3rQ+O31bpi7vCZj AnuP09B2IUoLTsStHxIgaIEd/ltb2MZUgF13Wmk2LI+HhkKgw8O33BT4oYDWA8Qf XgTAZsMcmU5IG8TMdzScmV9awfM9kJUo5CkLdeeet7RljVfYtz75dDoiiC1BN4lA == X-ME-Sender: X-Sasl-enc: qYcs3KOl4ZymSt7nS0Y0bv6yYKPxqQsEdPACQ8b59+p5 1499793057 Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id B08947E89A for ; Tue, 11 Jul 2017 13:10:57 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Date: Tue, 11 Jul 2017 19:10:46 +0200 Message-Id: <20170711171046.22558-1-thomas@monjalon.net> X-Mailer: git-send-email 2.13.2 Subject: [dpdk-dev] [PATCH] pci: fix level of scan debug log on BSD 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, 11 Jul 2017 17:10:59 -0000 Printing the number of scanned devices should be a debug log, not an error. Signed-off-by: Thomas Monjalon --- lib/librte_eal/bsdapp/eal/eal_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/bsdapp/eal/eal_pci.c b/lib/librte_eal/bsdapp/eal/eal_pci.c index e321461d8..9335247d8 100644 --- a/lib/librte_eal/bsdapp/eal/eal_pci.c +++ b/lib/librte_eal/bsdapp/eal/eal_pci.c @@ -396,7 +396,7 @@ rte_pci_scan(void) close(fd); - RTE_LOG(ERR, EAL, "PCI scan found %u devices\n", dev_count); + RTE_LOG(DEBUG, EAL, "PCI scan found %u devices\n", dev_count); return 0; error: -- 2.13.2