From patchwork Thu Oct 27 16:27:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 9399885 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 D96A160231 for ; Thu, 27 Oct 2016 16:28:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C98492A35C for ; Thu, 27 Oct 2016 16:28:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BE4D72A364; Thu, 27 Oct 2016 16:28:25 +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 024382A35C for ; Thu, 27 Oct 2016 16:28:24 +0000 (UTC) Received: (qmail 11525 invoked by uid 550); 27 Oct 2016 16:28:16 -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 11451 invoked from network); 27 Oct 2016 16:28:03 -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=wDtPyReBfe/ZyxSAGkw8UVRf2vDZBUW8krI19kuivZw=; b=K9diYzm8dRQo/QxvCzvg+aYKeFq3XghL6D2kXLUfXPJHBHOwHZhFnqfyBfCtOemY9J vXO8ETsWzRnVlyDuDTxC5nLFCZJOdUUffONsu/Dfaz38Jf7cBAooqpPeG58DG81Jw2md Zd06Gjoo9C0c0f+FQi3AHH9/C1NCX98NDs1UnGN4G7uTzhYW1uhPc0exFpuzn3N5mCZe ocIB+C4nl4EeN+nMpek2cFr4vK7r5scA97M4iBQB2jKU76gLyKYt398zmFiBGY2zUAWR UcQB1ogw9Vb1tvdudDc+wGIaDeLbmpepVAF0ZTJQSj7CLnJUtLUT2KSLiglSaWjxb13m PGiQ== X-Gm-Message-State: ABUngvdeBl2NaW8kgHNEtuh2T8uPNtC8jm0Oou9GwnGk3HntnP7mW8HgtFVMKqJft58O6bBz X-Received: by 10.55.116.7 with SMTP id p7mr6758331qkc.1.1477585672012; Thu, 27 Oct 2016 09:27:52 -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: Thu, 27 Oct 2016 09:27:33 -0700 Message-Id: <1477585654-8908-4-git-send-email-labbott@redhat.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477585654-8908-1-git-send-email-labbott@redhat.com> References: <1477585654-8908-1-git-send-email-labbott@redhat.com> Subject: [kernel-hardening] [PATCHv4 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 --- v4: 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);