From patchwork Wed Oct 12 22:32:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 9373879 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9221E60487 for ; Wed, 12 Oct 2016 22:34:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 90B602978C for ; Wed, 12 Oct 2016 22:34:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 852E029791; Wed, 12 Oct 2016 22:34:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 15D832978C for ; Wed, 12 Oct 2016 22:34:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1buS5M-0004nM-H4; Wed, 12 Oct 2016 22:33:16 +0000 Received: from mail-qk0-f181.google.com ([209.85.220.181]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1buS4j-0004ZM-D2 for linux-arm-kernel@lists.infradead.org; Wed, 12 Oct 2016 22:32:38 +0000 Received: by mail-qk0-f181.google.com with SMTP id o68so104300234qkf.3 for ; Wed, 12 Oct 2016 15:32:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qQiLsHjQajORenpibc5GRqWyJbO5Et55hPCeZ4Yqkpk=; b=Ax1+lruk28j/8zR4vYh/PKzzJPkErLowKDHCwus4g7csBVsWL9ZCeu8BVZapTNC/UT xLAmPTt1CwDNKFiSL61Guyp+5DNS6YpY6X61jkGeobfRJvE9PPb7TBevomtQiaoxyUm3 iuJZk6hKm2ZxajzUxdCUQiGI2DJP+conQ705IAAQVSQKPmexvutILitKvLwRJl9AfURy SfLI2vUND1kN6vwAxyqkQZ5ulc+qeF3RfQAi3D2x4ApLG9qJE27w4P4daZhgrUi/+QC4 F5UQhIHj0FgTwpq/CGgNDzdSHb70OuETp5yONFNHTCh9JNEXTtIFWejuW1YvghWSQrQE X8rA== X-Gm-Message-State: AA6/9RmtFfZF6a/NSPMOuMGMmqXi/vyknwDRhahfWshvZCa82axV66YVx46nFSQOWnY/yzU+ X-Received: by 10.55.220.131 with SMTP id v125mr3425116qki.307.1476311535337; Wed, 12 Oct 2016 15:32:15 -0700 (PDT) Received: from labbott-redhat-machine.redhat.com ([2601:602:9800:177f::2946]) by smtp.gmail.com with ESMTPSA id l61sm3536677qte.41.2016.10.12.15.32.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Oct 2016 15:32:14 -0700 (PDT) From: Laura Abbott To: AKASHI Takahiro , Mark Rutland , Ard Biesheuvel , David Brown , Will Deacon , Catalin Marinas Subject: [PATCHv2 3/4] arm64: dump: Remove max_addr Date: Wed, 12 Oct 2016 15:32:01 -0700 Message-Id: <1476311522-15381-4-git-send-email-labbott@redhat.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1476311522-15381-1-git-send-email-labbott@redhat.com> References: <1476311522-15381-1-git-send-email-labbott@redhat.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161012_153237_577294_2EE7E35B X-CRM114-Status: GOOD ( 10.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel-hardening@lists.openwall.com, Laura Abbott , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kees Cook MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP max_addr was added as part of struct ptdump_info but has never actually been used. Remove it. Signed-off-by: Laura Abbott Reviewed-by: Mark Rutland Tested-by: Mark Rutland --- New for v2 of the series --- arch/arm64/include/asm/ptdump.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/include/asm/ptdump.h b/arch/arm64/include/asm/ptdump.h index 7c35689..8fc0957 100644 --- a/arch/arm64/include/asm/ptdump.h +++ b/arch/arm64/include/asm/ptdump.h @@ -30,7 +30,6 @@ struct ptdump_info { struct mm_struct *mm; const struct addr_marker *markers; unsigned long base_addr; - unsigned long max_addr; }; void ptdump_walk_pgd(struct seq_file *s, struct ptdump_info *info);