From patchwork Tue Oct 18 22:01:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 9383181 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 583E7607D0 for ; Tue, 18 Oct 2016 22:02:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4468329785 for ; Tue, 18 Oct 2016 22:02:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 389F229792; Tue, 18 Oct 2016 22:02:12 +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 68F4629785 for ; Tue, 18 Oct 2016 22:02:11 +0000 (UTC) Received: (qmail 22008 invoked by uid 550); 18 Oct 2016 22:01:58 -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 21859 invoked from network); 18 Oct 2016 22:01:56 -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=ISwBBobVM9EmQETeDEGXzv7eZqoguky9pv+CoNnA5y4=; b=OVORpuiUmTCmYi0SPOVKaSn6nAWn00JqwnCMEhmIfRl+d/eeVJpjjV1cD3gn4xquCo OG3JJOIbJi7KtYsjVWG6Y5B9PmKu+df9/sQuctzZxNKI7jb5Q4fto6JtGSHMGbZYng+i MxfROczWc+IosLEUlJPzM4ADhUihNW4Zw58jQOFwtzO4kqgHPtIad6I+7AFtC+70sZ1O UBEBvsmpPTQgrhXbY8WXyG671lZrS/qG7BLmOHcDfwe+9DG24oOA5J4X3vxvz5C4QETD +J+ARyGGdtvjCeQtHgBJ9rCJ8AZ1yCEczqHq22rahLgRdXN3vkmXJu1JLzfRI+kLZLaq kksg== X-Gm-Message-State: AA6/9RkW8bX2dJWgKFhVLxgSyYe2oiq9VZyVkTId7yJGj3eK8K5vA7jFHy/AIfEQO/UMZK7J X-Received: by 10.107.129.151 with SMTP id l23mr3618160ioi.149.1476828104928; Tue, 18 Oct 2016 15:01:44 -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, Matt Fleming , linux-efi@vger.kernel.org Date: Tue, 18 Oct 2016 15:01:30 -0700 Message-Id: <1476828091-17802-4-git-send-email-labbott@redhat.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1476828091-17802-1-git-send-email-labbott@redhat.com> References: <1476828091-17802-1-git-send-email-labbott@redhat.com> Subject: [kernel-hardening] [PATCHv3 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. Reviewed-by: Kees Cook Reviewed-by: Mark Rutland Tested-by: Mark Rutland Signed-off-by: Laura Abbott --- v3: No changes --- 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 16335da..f72ee69 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);