From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by dpdk.org (Postfix) with ESMTP id 543511B44D for ; Wed, 6 Feb 2019 23:04:27 +0100 (CET) Received: by mail-pg1-f193.google.com with SMTP id n2so3546962pgm.3 for ; Wed, 06 Feb 2019 14:04:27 -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=aZ3BTi21TpqeNfZFEFInO91tio8rvbZxe+IrelEipt5ZM9jM5YCc622oYk2OZeHZ6u K1NXOvel3Kv9VQf9ipN7rMNGlqXMW7GsAGDv/yl9VWUevyiDNyp2y3sh78sTtsA8Zq4J 572eNMMeii12woSIST9FQJ9qA4O+va26ibVSdfHksO2nRd6qqMbIHmQq9wxEsC5RHLMl NECOwcPCKwX87RtzayhbIP8rA1ojRUUo6rEHOTmZ6Iq2twkcGyqpcAZ0zikOgpD5NrS2 udww5brTjwoVbW+VKo3946Y0FCvPSWmhwZKfzNVVbqWuCJwXl4fg90qi1V7fw9jUqJkA NlEg== X-Gm-Message-State: AHQUAub1dFGoRQMIHR4sJ6dD3y6JBo/S/LzkMjuEdKQ0fWL63wdJM11I vTzvwH0f8qhtnECnvmnBTybn58ESFzs= 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-dev] [PATCH] fslmc: don't log error for other devices 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: 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