From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id 8C9F04C95 for ; Tue, 12 Mar 2019 18:11:59 +0100 (CET) Received: by mail-pg1-f196.google.com with SMTP id r124so2320308pgr.3 for ; Tue, 12 Mar 2019 10:11:59 -0700 (PDT) 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:in-reply-to:references; bh=mBTyTaNWVbiRafHHpq1IyodLa0Nco6adQb1sIPxzgvc=; b=rT9Awi3a2vooS9z8axrf09JRiaSRQsvTlerpM0vC0iGe+iH7i4+UnXaf2FjPeZPb/T Yly+4BSQH8NhtTmjWxMFOGyy9jwt4gcurX6sWRWS2QwJRoTHMi8Km+k2u9RKeD4+LGbx gKEimpz3LJWtBvP0tG2SPQ9IWVg0udxb+UWAfBF3NiDz6fFnDZuR3Pqs6MF3GtN9RpWC yvGklk6z4fI7OJOBcK64bOWN88bKWBEZ0p8s1kHrdEgkNmm+uZO//g+Sseg2/PzH9UvQ ofRKdPjNPak915sMpSG7jgzMxlG8WjD2hPYbCUKC7yetxgxIX665n9w1ITASE/xyiYfM lL/Q== 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:in-reply-to :references; bh=mBTyTaNWVbiRafHHpq1IyodLa0Nco6adQb1sIPxzgvc=; b=fXCX32a5VwPNXOkiVLteBqDAZwlK3iGjSZBz5WK1h5vFn097zUxkJnmNzQluJVh2oo 42yyJUN2hO7Zp3umhRtpmmv67t9pPZYMURazLaNxf2rcfyWNmT3NvWy970w4B1u2hQBr upl6+zaNbNDqmsrJlVROPf0PIUGWXrg/RDyiU/eyiPubUZX7LUFrEYs7u7OonG+gy7v6 oUl7u5tY4TmBxHKtgITnBdfCP+VYIoKD1C3HtlgiqYN3V2lE2+Z2XS/3UQ9kPVNmNbsa og5fcOZ6BnEb4fSh827GaeL778ZKlcePkUAZLCl/EJIlgeCSMrJYV0sTmbSZuhxrE/r9 zAzg== X-Gm-Message-State: APjAAAXLm3MA7qXMbCkpaw1R5wp0buebowvmtYds1TfWt9kDU5aJf5S7 tby1DHPAWFNVZMehNRzhX6DGEg== X-Google-Smtp-Source: APXvYqww7wbJ8pKi5i6ZS/gUTDSrCYAMXTxmOr0YI4OoKTO0LY47lIGBOZzSQvFyR9q3pqA3DYAU5g== X-Received: by 2002:a17:902:1105:: with SMTP id d5mr41343636pla.27.1552410718662; Tue, 12 Mar 2019 10:11:58 -0700 (PDT) Received: from shemminger-XPS-13-9360.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id a66sm25246593pfj.153.2019.03.12.10.11.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Mar 2019 10:11:57 -0700 (PDT) From: Stephen Hemminger To: hemant.agrawal@nxp.com, shreyansh.jain@nxp.com Cc: dev@dpdk.org, Stephen Hemminger Date: Tue, 12 Mar 2019 10:11:51 -0700 Message-Id: <20190312171152.28637-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190312171152.28637-1-stephen@networkplumber.org> References: <20190312171152.28637-1-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH v2 1/2] bus/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: Tue, 12 Mar 2019 17:11:59 -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.17.1