Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2068389ybp; Thu, 10 Oct 2019 01:35:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxI1aLBPlM+vzualoqsedYw2JTlBTJInvjYmrhLP/AOiW7nR81mz6AebGyGsaN4VTvcXkbC X-Received: by 2002:a17:906:134a:: with SMTP id x10mr7020016ejb.204.1570696537760; Thu, 10 Oct 2019 01:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570696537; cv=none; d=google.com; s=arc-20160816; b=RghkohJW4A2pklYkC0VaEOTmgewLWFq3lwVt8HByddxR3NzvS548UU3HSVHNYLo7en WwmeTrW8H8mSypYjbIHjEKddJTzCXfshmv655F5b4U9Usna6AMB++rNCB7uoXmURzetc YtniL0IIhcb8fa+COJZc2y7jlfPfjyh2annWYYX7WgJFH0TYX+YRJGGnyALWEQ/4Xhr2 7GrayyEi4tOFlQB+5OjgBXSkMyL895CCJcQ2zrS3eA73OkLkaCLDDsyzLZoAJkCXEUD4 OmnHAo8tSSC9nccMv42ajWmlP2A3OFKQgjMwmWEhc2q8XXb5Eo3Rf2D/tLIau2sFnJ0f 2Udw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:message-id:date:subject:cc:from :dkim-signature; bh=O7p2fEqyW0bVC4UiR9HAc7G+W6mndKZsFPSQmUHXQOs=; b=k8XwKCFMVKpzpgGXk/rvljvVBcKVE/tU7Nk10GqOJFNb9Pm94xGFhvbP+F3hJO72FW VZtI73a9sYbnggVkG3uCKue2iGE/xbIVmyiyE2nlzeaAPzSak0V2OclFKsQTqBE//S/+ l4YMaBs1Qqktr2wUH6+wyLeCRfsc/IVLDpttbRTOLfi7FrMqybAkad1QpT8ZaIL5hejK 6ITTciPoswS4SX3TG7BCAzluDHhgmti+K6RzrmdZdAaStH/VUMunqf5+pr6K6G7q2zkI /9SGDdy2f2AGdqJ8kECC+8OiUAFX6d1N3/tjlLHJYHQ/i77Cbb0ZKvsUHdbw41r0+6Oy Hp+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="p+k/fFju"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g40si2703766edg.397.2019.10.10.01.35.14; Thu, 10 Oct 2019 01:35:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="p+k/fFju"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733194AbfJJIdE (ORCPT + 99 others); Thu, 10 Oct 2019 04:33:04 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:38288 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732034AbfJJIdE (ORCPT ); Thu, 10 Oct 2019 04:33:04 -0400 Received: by mail-pg1-f193.google.com with SMTP id x10so3201299pgi.5 for ; Thu, 10 Oct 2019 01:33:02 -0700 (PDT) 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=cdZWcktThmnF2WA5cGL5DBciCWdky8/eGpIKkXzvZuBlyyaMZW76c1ly2OoKA17Fl1 rmGI+mXfLwc25H9q79G8tI5NOriT5sXZWriDWLsVBO4RmTy6kzIuFAm2+5novuVe8QGI 33eZNwtS6yILQ+yBFzlHir1ACvKt4DPcDEHblMFW24owz9isp1LzhiFeRIU5lVaikaMN L6NQbAT6/TGRlGhJ7K6skjHvg5r3SFbA1kPaRYUDZQPE509dBY0B6GGFUobgutTOLsAm xxyNiX9HKb6sPKgxUNaB3y79F5Vv83gbE//KIhkmy2nLc7zNzJ/SF/HB6PLzaZuRP7uE lsiQ== X-Gm-Message-State: APjAAAU3BE2oV5LYXBAPMF6O63XpZ7FskhOv9MuPr4KW/oCYMFoNE48U 61edi+renAPTIUi0hKwCfvku5UixdAI= X-Received: by 2002:a62:d402:: with SMTP id a2mr9184721pfh.115.1570696382444; Thu, 10 Oct 2019 01:33:02 -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) From: Fuqian Huang Cc: Boris Ostrovsky , Juergen Gross , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, Fuqian Huang Subject: [PATCH] xen/grant-table: remove unnecessary printing 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 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org xen_auto_xlat_grant_frames.vaddr is definitely NULL in this case. So the address printing is unnecessary. Signed-off-by: Fuqian Huang --- 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 == NULL) { gnttab_shared.addr = xen_auto_xlat_grant_frames.vaddr; if (gnttab_shared.addr == NULL) { - pr_warn("gnttab share frames (addr=0x%08lx) is not mapped!\n", - (unsigned long)xen_auto_xlat_grant_frames.vaddr); + pr_warn("gnttab share frames is not mapped!\n"); return -ENOMEM; } } -- 2.11.0