From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id 0DAB81B42E for ; Wed, 6 Feb 2019 23:04:27 +0100 (CET) Received: by mail-pg1-f195.google.com with SMTP id v28so3530076pgk.10 for ; Wed, 06 Feb 2019 14:04:26 -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:mime-version :content-transfer-encoding; bh=PDWP/1UboipwAhsxiccLv5Iyp7z326vj3P2tp46jWx0=; b=VYWP1zA+v8PhW4RsU8ebdhgD9z060omkWILABAG6k79iujfP6x7RBKIWDEM9C+LIdz tPL5mM/lRUvzvLKNmtGNQDAWwVLH6Bl71WkPn1MyIYSC33D8Nm5RD3q/0437Znhk63k2 xNYNwSx/oT2Vb1l5B8la3A9kC2oMF+7b5XPWoH9TkMAAeMuScHbkjLqKlfZneIXqJ2gv ky6IrVK6yPbaf2fRTWnGE2ESV1y/wFFLXYfghN8kpR6B8DPd+HJ2QTRFLB6R7DcZ7/KS 6wpkrK8XjpXIH+oilmvQDDxTHvl/eEvXetgkWQqF9tfthJ6ojrYGFPJ6LuLxUsrEPKEn mzsw== 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:mime-version :content-transfer-encoding; bh=PDWP/1UboipwAhsxiccLv5Iyp7z326vj3P2tp46jWx0=; b=uYfbC1V2+eSrNPnrHXVDRKmig7qXfML3flGAhZFxTbqbyVB+r42+zCB5UIoHNpXBUS 8+GInezlgSw5kTkGLQCrPDX4l1Gc3hTKa//kCKwHgXcHt6+aWbIxi/UxgIsfjfrA0+EK 6CkQv+ggKiatWyBVjvrDLsWmx2cJpwz2UAYM5sS4OkNoK36ELk7VyQM+O3dQ/2Ugez/K XSAHfPvfCyH9YEHrvlqhJRx9SPco0EIR0h3vvjRB74WiB3rN0TjejEMhn7pCU/Gfm/F0 Kip2ziZlAdK0sRo4EtmQnGWK+lobq5LUI7ysRADUcp+s+QKaWR52pLm6I8lITSQoOFot 57tg== X-Gm-Message-State: AHQUAubOe4QvJhocOzftuuYM2SLYrB38mRTWeJBM61Whdg4Tz1VSC2g1 a4KjOCMc30xs54lYGsVnadqFOA== X-Google-Smtp-Source: AHgI3IZYZClH2cgiJBB77Q3X2msvYCVzD6GOCczOLS+Ly9ey5IIl5zwepETL4X6sWbbSaJ6pJQyY8Q== X-Received: by 2002:a63:e655:: with SMTP id p21mr11611341pgj.70.1549490666079; Wed, 06 Feb 2019 14:04:26 -0800 (PST) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id f12sm8120590pgo.13.2019.02.06.14.04.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Feb 2019 14:04:25 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: stable@dpdk.org, Stephen Hemminger Date: Wed, 6 Feb 2019 14:04:14 -0800 Message-Id: <20190206220414.9450-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH] fslmc: don't log error for other devices X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2019 22:04:27 -0000 When fslmc is built as part of a general distribution, the bus code will log errors when other devices are present. This could confuse users it is not an error. Fixes: 50245be05d1a ("bus/fslmc: support device blacklisting") Signed-off-by: Stephen Hemminger --- drivers/bus/fslmc/fslmc_bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c index 44c0827ced0b..a2525780cd08 100644 --- a/drivers/bus/fslmc/fslmc_bus.c +++ b/drivers/bus/fslmc/fslmc_bus.c @@ -249,7 +249,7 @@ rte_fslmc_parse(const char *name, void *addr) strncmp("dpmcp", t_ptr, 5) && strncmp("dpdmai", t_ptr, 6) && strncmp("dpdmux", t_ptr, 6)) { - DPAA2_BUS_ERR("Unknown or unsupported device"); + DPAA2_BUS_DEBUG("Unknown or unsupported device (%s)", name); goto err_out; } -- 2.20.1