From patchwork Thu Mar 31 09:41:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shannon Zhao X-Patchwork-Id: 64754 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp52351lbc; Thu, 31 Mar 2016 02:48:14 -0700 (PDT) X-Received: by 10.31.49.146 with SMTP id x140mr1055705vkx.81.1459417694604; Thu, 31 Mar 2016 02:48:14 -0700 (PDT) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id f124si2463272vkd.20.2016.03.31.02.48.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Mar 2016 02:48:14 -0700 (PDT) Received-SPF: neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1alZBv-0005v0-QK; Thu, 31 Mar 2016 09:47:03 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1alZBv-0005ut-EZ for xen-devel@lists.xen.org; Thu, 31 Mar 2016 09:47:03 +0000 Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id EC/E1-30565-612FCF65; Thu, 31 Mar 2016 09:47:02 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrDIsWRWlGSWpSXmKPExsVi9XuGg67Ypz9 hBitPCVgs+biYxYHR4+ju30wBjFGsmXlJ+RUJrBkPTzxmLVjIVrHgygamBsa/LF2MXBxCAqcY Je53fmSHcPYwSjzZM5upi5GTg01AV+LjxinsILaIgKzE6q45YEXMAjMZJbYu2McCkhAWMJXY+ eAEWAOLgKrE1sWrWEFsXgEPiTenuxlBbAkBDYmVvRNYIOKCEidnPgGzmQUkJA6+eMEMUaMo0b b+JBuELSlxcMUNsPMkQM77+fsn1CBTifVLmhgnMPLPQjJrFpJZCxiZVjGqF6cWlaUW6ZrqJRV lpmeU5CZm5ugaGpro5aYWFyemp+YkJhXrJefnbmIEhhwDEOxgXLfY+RCjJAeTkijvvdd/woT4 kvJTKjMSizPii0pzUosPMcpwcChJ8Pp9BMoJFqWmp1akZeYAgx8mLcHBoyTCWwKS5i0uSMwtz kyHSJ1i1OVY8OP2WiYhlrz8vFQpcd5QkCIBkKKM0jy4EbBIvMQoKyXMywh0lBBPQWpRbmYJqv wrRnEORiVh3gCQKTyZeSVwm14BHcEEdMRWjV8gR5QkIqSkGhg3ljqtudE34dqBqJ3RRtW2y2f tbvxvVvcrZf7LHbMcNyvnR9cmHbx8Yp7sMY15VjNCxRdO2OogdeMV39Pa7zeq3HZsOOlZvfRS LEOqY5798SrXM/pSjKlNTKvm+Mmxvyw5qXAtgK/j3XFlo1c5odvDP54Jl45eo79G48Sztznaf TFqr6eJX+1RYinOSDTUYi4qTgQAjsmh178CAAA= X-Env-Sender: zhaoshenglong@huawei.com X-Msg-Ref: server-14.tower-27.messagelabs.com!1459417617!22550062!1 X-Originating-IP: [58.251.152.64] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 8.28; banners=-,-,- X-VirusChecked: Checked Received: (qmail 55937 invoked from network); 31 Mar 2016 09:47:01 -0000 Received: from szxga01-in.huawei.com (HELO szxga01-in.huawei.com) (58.251.152.64) by server-14.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 31 Mar 2016 09:47:01 -0000 Received: from 172.24.1.47 (EHLO szxeml426-hub.china.huawei.com) ([172.24.1.47]) by szxrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DHY45108; Thu, 31 Mar 2016 17:43:34 +0800 (CST) Received: from HGHY1Z002260041.china.huawei.com (10.177.16.142) by szxeml426-hub.china.huawei.com (10.82.67.181) with Microsoft SMTP Server id 14.3.235.1; Thu, 31 Mar 2016 17:43:24 +0800 From: Shannon Zhao To: Date: Thu, 31 Mar 2016 17:41:49 +0800 Message-ID: <1459417309-17896-1-git-send-email-zhaoshenglong@huawei.com> X-Mailer: git-send-email 1.9.0.msysgit.0 MIME-Version: 1.0 X-Originating-IP: [10.177.16.142] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.56FCF14B.00D1, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 7ea7995aaa6f7363b99e43f12d48684d Cc: zhaoshenglong@huawei.com, julien.grall@arm.com, sstabellini@kernel.org, shannon.zhao@linaro.org, peter.huangpeng@huawei.com Subject: [Xen-devel] [PATCH v2] xen/arm: use XENLOG_G_ERR instead X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" From: Shannon Zhao To distinguish the error logs in function map_dev_mmio_region, use XENLOG_G_ERR instead of XENLOG_ERR. Signed-off-by: Shannon Zhao --- xen/arch/arm/p2m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/p2m.c b/xen/arch/arm/p2m.c index 0011708..db21433 100644 --- a/xen/arch/arm/p2m.c +++ b/xen/arch/arm/p2m.c @@ -1284,7 +1284,7 @@ int map_dev_mmio_region(struct domain *d, res = map_mmio_regions(d, start_gfn, nr, mfn); if ( res < 0 ) { - printk(XENLOG_ERR "Unable to map [%#lx - %#lx] in Dom%d\n", + printk(XENLOG_G_ERR "Unable to map [%#lx - %#lx] in Dom%d\n", start_gfn, start_gfn + nr - 1, d->domain_id); return res; }