From patchwork Thu Dec 27 06:22:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 154550 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6604626ljp; Wed, 26 Dec 2018 22:23:45 -0800 (PST) X-Google-Smtp-Source: AFSGD/VPa+WUlYwPfy1+X9bu6qGtDVRiAV1llvxjirw+Q7SlPEA0r7fz4l6oeogoyDFTtxpHLsXX X-Received: by 2002:a1c:68d7:: with SMTP id d206mr19399049wmc.43.1545891825049; Wed, 26 Dec 2018 22:23:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545891825; cv=none; d=google.com; s=arc-20160816; b=HiU6PKtzE6NOE0Masj/NUq5PjR0cRQ6Cc1JAoBXBiKBlEapLQCR4Vg4qaBTbU6JQd1 0/0BwAxe0oRsRggtR5TmkoPjmZK0XFnamZyoeYPKUWu0m9GTDUp7LlUDZfGY4iJ+nXTZ mxrST/xEu4nTZomqhlQjXAgKGBXT1kqz+1Lne9LcuKJ1DpTOOrTHh6xl5JOW1nR7whQp SS+E6tVo+Fzx3O2iI+Jli3TC32j8+MO6nT+dr7sSYN94zMTQ8czbKh3ct8VKUcbNZds7 2hloRVQBYPbbe8BAxnq2xNRh2Pi2DXQ223aTeZkae9fei7hYJHfuo9JhZ2cRFnjXaOC9 rtYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:mime-version :content-transfer-encoding:spamdiagnosticmetadata :spamdiagnosticoutput:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:cc:to:from :dkim-signature; bh=m0pLI3JFXbIw1bD4vy7VTcp0BHZUYVNfR59yR3zPM8M=; b=oZJLJrKdKRM6mLpt5tU47MN20fVzQHCzBn8MvP+Qa28q6OTuNxKwUSYsWwRQHAzFE5 yoDqY+/2L9SCEtmygljD/i3Q8p8H/hvgooRQzl9jbHK+w87mX6Ef/QkMfFdo4OOgEtlG qtF1ADXRFIT7hVQtoZulwDt8yKoWaxS8lOPVQDgfqgqGEg8GlRtahq/QObH3h5qnfEhz iZF+UGqOY8NA7p8fPvdARogQDEOCLEKnbYN8vR+V9flNTzOIsv2ICGFBz2OeUblts7oX xQzlQDNbT/R9gGPO7G5utljEGC/qGWbrEN0xE+w303zk1W9nYjKCziIIUhFHqfaiMHaz mZnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=fWEibfoR; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id v10si18347278wro.316.2018.12.26.22.23.44; Wed, 26 Dec 2018 22:23:45 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=fWEibfoR; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2CD5C5587; Thu, 27 Dec 2018 07:23:04 +0100 (CET) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140050.outbound.protection.outlook.com [40.107.14.50]) by dpdk.org (Postfix) with ESMTP id EF8A14C96; Thu, 27 Dec 2018 07:22:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m0pLI3JFXbIw1bD4vy7VTcp0BHZUYVNfR59yR3zPM8M=; b=fWEibfoRZgIx+dzZXkejG/CkjzbHiEomlpx3qPTtfHF5S95v8hemSeB3bY6hiSxJDPaDPWbPdVGN0h5MMMHCiKMTZu0SA/DNN8DNWO4cJ29z9rvu02OT1hj9mOdbqjo3oD8eiKuvzx0EH05Pu6gdcG6lEipLcHiKkWBXBZfnB28= Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com (10.168.65.19) by VI1PR0401MB2382.eurprd04.prod.outlook.com (10.169.134.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1471.20; Thu, 27 Dec 2018 06:22:59 +0000 Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::555e:164:f8f0:dbb4]) by VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::555e:164:f8f0:dbb4%2]) with mapi id 15.20.1471.019; Thu, 27 Dec 2018 06:22:59 +0000 From: Hemant Agrawal To: "dev@dpdk.org" CC: "ferruh.yigit@intel.com" , Shreyansh Jain , "stable@dpdk.org" Thread-Topic: [PATCH 05/20] bus/fslmc: fix to convert error msg to warning Thread-Index: AQHUnaycVLTjt3sn2EaeYtGYvsHpcg== Date: Thu, 27 Dec 2018 06:22:58 +0000 Message-ID: <20181227062233.30781-6-hemant.agrawal@nxp.com> References: <20181227062233.30781-1-hemant.agrawal@nxp.com> In-Reply-To: <20181227062233.30781-1-hemant.agrawal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.143.30.134] x-mailer: git-send-email 2.17.1 x-clientproxiedby: BM1PR01CA0120.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:40::14) To VI1PR0401MB2541.eurprd04.prod.outlook.com (2603:10a6:800:56::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0401MB2382; 6:LoJVc3558VfOW9fwf3mhM7cAAMaAAzknNex9GUZmQyuLZ0pCjLfkAYiQ5evJYysS1BEpGtynJXH6SiAi8isbqP3BIkeuBBO0FoMN9O/FKLxWKJuLeGrAuilP8Ql87fRh5gtajv1Ev/08p5gPWgOMWCFpnc3HEke8PM4voGLPBAxGF6B0cpc1loNn8Y6K5P9CyLVpgNmrMVSJiv+FSfSI5dmgq8Gag0mTalvjQ/Y0OM4Xsu98CP3s6vMj6Q5liKYQc/jc736ZBttvTPbq1N6+9xLqmHDtNDVwRd7IX5owFRhODqCvvls15Rn8uhx+k0L7LdyDZ8i/ngSZ02ghtGPYnUJ8MOUv9322mMs+czbGUgeZkJ6hTv1I7XOmTytfdgNHiLB27VmahCmQ+JA67C+oOBcSC80CxxgIbDDkNAFdfsx5IzUAlIE6LQ2l3Oekw/4U+neVROtSsgL+Lx430ELsuw==; 5:vLeh2WwBYzrzQfYLoDc6N1UOrBzAS+q/A+zK3JqmzvNatTz8k/cn3AQuvQPwlwdDORmV3Ky/cegG7Y6UJZh8PkdYC+hyQRw/uvHxnzaSGR+5XrLGM+rKkMhUUUSy8YuF+KUYWc4JJz8m9Adg5BoHGEIQEFLXzZzdrJVJDWUjgiE=; 7:lBgleQV9jk/Rf4hj5zWWc0LQBNMhhElJt7Lf+3/SOMCrg05IKK2UnJdltgaki6aisPn5T7Y4zmEEysnY+Bh5a4wrEVt9CiGX7oDQnf8+URmqiuf3DBG33aDOtu6HJfdiCb4lZdjCJAtWbMt0G0lFfw== x-ms-office365-filtering-correlation-id: 9c987762-0c0c-42a2-ba95-08d66bc3bee3 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0401MB2382; x-ms-traffictypediagnostic: VI1PR0401MB2382: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(2401047)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231475)(944501520)(52105112)(6055026)(6041310)(20161123560045)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:VI1PR0401MB2382; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0401MB2382; x-forefront-prvs: 0899B47777 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(396003)(366004)(376002)(39860400002)(346002)(199004)(189003)(5660300001)(1076003)(26005)(76176011)(186003)(71200400001)(256004)(25786009)(105586002)(4326008)(6436002)(305945005)(11346002)(106356001)(14444005)(446003)(44832011)(476003)(7736002)(55236004)(102836004)(78486014)(486006)(386003)(68736007)(52116002)(86362001)(6506007)(2616005)(71190400001)(66066001)(316002)(54906003)(6116002)(3846002)(2906002)(14454004)(36756003)(99286004)(50226002)(8936002)(1730700003)(81156014)(81166006)(8676002)(6512007)(53936002)(478600001)(97736004)(6486002)(6916009)(5640700003)(2351001)(2501003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2382; H:VI1PR0401MB2541.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: SEK3D2Lt3zhJVctBAT5A67zFQ2CUh5dW1F4TkZ1jtHX9L3rm1MwBv6LywyC3fDYwWt5oMHb7vDM11UfxIyuMHYeA1hArWQQESwDKpSymsaDbktwFt2JkDaKiMGgcdJgvdwcuCgKKETr/lbXJkHYfMXhOSU/o4grfOKnXn/+nWAAWna3Q8gkCC7b/sxTHylwtpmsn8HtwNYl1JDKHnyrnJDJ75HOKO6U4lWSHyAT0at2x1JOjpQAQfz6YzWbahj6hqNHmNz8hRZTtiWkFbIn6ex6FCVrqwZquV7EvArHjzupfuy+n7BCFVTvORZx4+7SR spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9c987762-0c0c-42a2-ba95-08d66bc3bee3 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Dec 2018 06:22:58.9581 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2382 Subject: [dpdk-dev] [PATCH 05/20] bus/fslmc: fix to convert error msg to warning 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This is just a information. No need to print it as a error. Fixes: ce9efbf5bb09 ("bus/fslmc: support dynamic logging") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_vfio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index 493b6e5be..ce82a99f6 100644 --- a/drivers/bus/fslmc/fslmc_vfio.c +++ b/drivers/bus/fslmc/fslmc_vfio.c @@ -176,7 +176,7 @@ static int vfio_map_irq_region(struct fslmc_vfio_group *group) vaddr = (unsigned long *)mmap(NULL, 0x1000, PROT_WRITE | PROT_READ, MAP_SHARED, container_device_fd, 0x6030000); if (vaddr == MAP_FAILED) { - DPAA2_BUS_ERR("Unable to map region (errno = %d)", errno); + DPAA2_BUS_INFO("Unable to map region (errno = %d)", errno); return -errno; }