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: 9373863 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 A48DB60487 for ; Wed, 12 Oct 2016 22:32:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A6DA52978C for ; Wed, 12 Oct 2016 22:32:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9B8AA29791; Wed, 12 Oct 2016 22:32:35 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from mother.openwall.net (mother.openwall.net [195.42.179.200]) by mail.wl.linuxfoundation.org (Postfix) with SMTP id DB2D62978C for ; Wed, 12 Oct 2016 22:32:34 +0000 (UTC) Received: (qmail 7544 invoked by uid 550); 12 Oct 2016 22:32:27 -0000 Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: kernel-hardening@lists.openwall.com Delivered-To: mailing list kernel-hardening@lists.openwall.com Received: (qmail 7439 invoked from network); 12 Oct 2016 22:32:26 -0000 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=T4VCX4NOp69mdjwVLp0XrGgMr/pqopaXpIXgW5ZAEtIr3JCaFtor1wEdKBRN26Ha0h qrY1/CClnpticEfM1Yw3+bOctZDDQLayR4yBms9HO8QfMn7lxB/4FpKPqlXUUAdh0RfD Z71Vcii+DEnbggw4Njh9J7Z1WPRlctd9OQs8Z6Ky2IHOvy0kIhJtEXUfS1lxFHWtYJtt O1XUsCmTOgOOfvmDBW6dL0R3TCQMd55EO8Ljaf0W2xB7/V1dclBxb1An5uJKVupCdRMS CFNIPfbzC9CcFHrFagrYloWUoM5JZuslZxnhr1ty4cqXB7Nxy/Jgn0zuT/DWrQ2/DFwG kbwA== X-Gm-Message-State: AA6/9RmAlofnuVO6UvIzBX+F5H1r8F+7Im29Vx9PPaVRDqeHu37eC4OeaZ0SKajCeLJVaZfF X-Received: by 10.55.220.131 with SMTP id v125mr3425116qki.307.1476311535337; Wed, 12 Oct 2016 15:32:15 -0700 (PDT) From: Laura Abbott To: AKASHI Takahiro , Mark Rutland , Ard Biesheuvel , David Brown , Will Deacon , Catalin Marinas Cc: Laura Abbott , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kees Cook , kernel-hardening@lists.openwall.com 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> Subject: [kernel-hardening] [PATCHv2 3/4] arm64: dump: Remove max_addr 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);