From nobody Fri Mar 29 08:55:31 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1570696817; cv=none; d=zoho.com; s=zohoarc; b=aJAn2lP8/0oqpJogugoOjvT8m/rqPnjExJArCY2s0+oK8E5Z+gOOoin30Jm9jjIqxq6+d9qGSoYfwVikdC8mpwtfzhBA7hrEFyrGDrO9Is0mGJPVCfqrIiJ6z4vIFExRzThgfWW/QGVdw4P3A5LNiIb2/ozodNLyF5131EO3Gbo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1570696817; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject; bh=7hS7Y1aK5tTprwYu1Txe0sSQP4nfx7dfSuvkRpYPmG8=; b=S7Lt3btL3uL8/eJ2ul3qTePb8bQ+UoXrUhaCXncNzTFvD3PP02sT/o4G04KgdY2+lS1QccENsyMjby7hn7C/4Ymg/A6C6S2nRcQcXo7hmMeOiTB/tCZh3UmVI8FXZ+8rUWizpVPZwWcv7MNq0V0chBiGD1w/OfGq8O1x6R9PKvI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 15706968175331008.2633683167005; Thu, 10 Oct 2019 01:40:17 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iITyS-0001UB-IH; Thu, 10 Oct 2019 08:39:04 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iITsd-0001Fk-Tj for xen-devel@lists.xenproject.org; Thu, 10 Oct 2019 08:33:03 +0000 Received: from mail-pg1-x544.google.com (unknown [2607:f8b0:4864:20::544]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 93010b60-eb38-11e9-80e3-bc764e2007e4; Thu, 10 Oct 2019 08:33:03 +0000 (UTC) Received: by mail-pg1-x544.google.com with SMTP id e1so3203033pgj.6 for ; Thu, 10 Oct 2019 01:33:03 -0700 (PDT) Received: from hfq-skylake.ipads-lab.se.sjtu.edu.cn ([202.120.40.82]) by smtp.googlemail.com with ESMTPSA id m34sm7028036pgb.91.2019.10.10.01.32.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Oct 2019 01:33:01 -0700 (PDT) X-Inumbo-ID: 93010b60-eb38-11e9-80e3-bc764e2007e4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=O7p2fEqyW0bVC4UiR9HAc7G+W6mndKZsFPSQmUHXQOs=; b=p+k/fFjus2iMXsQjgstcB4b4WB5zfA5cT2pFdCVTwodhFve3rnj0UyAS5/TrK1l+jP Fj7BYq+UOpDkTiiEO5IcxazfG2x62D6mOyvV0FnceC+RI+6DfXSzU2H4F3O53nv+s2JZ xWNfPfeM50wEalTJWvI9F4g9prWz5oD9I0T7XXjDHmR5x2i1Aitn5igvDn+DYkF52KaM O//BciCy9oW8PFP3JE024ZAi7gA+M+OtXMBIzKEHNy55LQOuRw71pOdmQ1sTHTMJhHcW 10fFyTCm8Ejc6Q+NBW5+INiPAJhxWy21NMbeRNAIhoAyDoyOqu7TMRmEHRP1Sl1n8uzT jMDg== 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; bh=O7p2fEqyW0bVC4UiR9HAc7G+W6mndKZsFPSQmUHXQOs=; b=TRysf8me1xSoI7XIqTg1mO3vwtm3oAeMddWils894c7/bdoeO+4au0lf00iXTowWB3 uKL9RDF534Zd895+Q191WYVZb9kVWfFGtw8bR5rQ/iHZC9p35LcvPrwlaIJilVdZKr3m bTw+0bk5xzqbkLm51d0wQv3Z9g/CamCFkQOwl77kwGykLVXRqg+FU2KgHMwkJZkdAWPv vEQEUhE2M9yZ6VqZSzufg4fdTE/z8QKnT9AOFp0pjFKNwfR4h4N/+7JwA7DTFwswUzS5 yqhqWQaJUbb4CBhKdZbuKDJ//H5wQpUVlj+bpod6uStL8mvO+htLe3NBYrE5xXQ4yb8E fXcw== X-Gm-Message-State: APjAAAWEMN9dyPCExuYUrenEh0OyPiR7S2FPiJEewxxO/JNs8H7TOky0 LN8ghT9C6Y+NkwjW7KVXx7w= X-Google-Smtp-Source: APXvYqzyutGAVXNM/PD1VvisCGv1p9QsixR+cchjogvT0/HSuilUbh8huFSd3rnak94fGCQcEmBq0w== X-Received: by 2002:a62:d402:: with SMTP id a2mr9184721pfh.115.1570696382444; Thu, 10 Oct 2019 01:33:02 -0700 (PDT) From: Fuqian Huang To: Date: Thu, 10 Oct 2019 16:32:09 +0800 Message-Id: <20191010083209.4702-1-huangfq.daxian@gmail.com> X-Mailer: git-send-email 2.11.0 X-Mailman-Approved-At: Thu, 10 Oct 2019 08:39:03 +0000 Subject: [Xen-devel] [PATCH] xen/grant-table: remove unnecessary printing X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Juergen Gross , xen-devel@lists.xenproject.org, Boris Ostrovsky , linux-kernel@vger.kernel.org, Fuqian Huang MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) xen_auto_xlat_grant_frames.vaddr is definitely NULL in this case. So the address printing is unnecessary. Signed-off-by: Fuqian Huang Reviewed-by: Juergen Gross --- drivers/xen/grant-table.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c index 7ea6fb6a2e5d..49b381e104ef 100644 --- a/drivers/xen/grant-table.c +++ b/drivers/xen/grant-table.c @@ -1363,8 +1363,7 @@ static int gnttab_setup(void) if (xen_feature(XENFEAT_auto_translated_physmap) && gnttab_shared.addr = =3D=3D NULL) { gnttab_shared.addr =3D xen_auto_xlat_grant_frames.vaddr; if (gnttab_shared.addr =3D=3D NULL) { - pr_warn("gnttab share frames (addr=3D0x%08lx) is not mapped!\n", - (unsigned long)xen_auto_xlat_grant_frames.vaddr); + pr_warn("gnttab share frames is not mapped!\n"); return -ENOMEM; } } --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel