From patchwork Tue Aug 6 21:34:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathias Krause X-Patchwork-Id: 2839628 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 790B79F479 for ; Tue, 6 Aug 2013 21:35:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 723FD201B2 for ; Tue, 6 Aug 2013 21:35:36 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 83D122018B for ; Tue, 6 Aug 2013 21:35:35 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V6ouj-0007t4-NM; Tue, 06 Aug 2013 21:35:34 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V6ouh-0002bf-4w; Tue, 06 Aug 2013 21:35:31 +0000 Received: from mail-ee0-x235.google.com ([2a00:1450:4013:c00::235]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V6ouc-0002bA-5j for linux-arm-kernel@lists.infradead.org; Tue, 06 Aug 2013 21:35:28 +0000 Received: by mail-ee0-f53.google.com with SMTP id b15so475380eek.12 for ; Tue, 06 Aug 2013 14:35:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=PZ0J5Cds2b8FR3db58ZY5uzVTKyqjGKYAJXtJ71HsaI=; b=dffRRWwR1627zQnUp+CPc16qR/PcL11XH3Z9My99n3wV/MRzLZaCFJeJIsJgotqhNc GR83cCe3Cklf4nlo3n4F3KXWPl45xSakquBdr6Sxosdnn/0EfyHlNW2RMAadnYBumbiR zLtBrYEAaWEN7ctorxkRxRi8U+Ex4Wbe9pNF9vngDJGdteOvr/yVUVJ5sVfsx/Po1VM5 hH9HW3kh579NTJNLYjWTtY0Cz3PmwRW+PXWjqwQU3bv7RgxeVCuZvU88bmcGpLuletjd zcjyvGV2VLhNneiJXtdBfuv5E0Jd+T4mDEjRNgXd2eaZcldaD6ETgsl9QgWFnl3YKTFo 3t5w== X-Received: by 10.15.74.199 with SMTP id j47mr31023eey.154.1375824903473; Tue, 06 Aug 2013 14:35:03 -0700 (PDT) Received: from jig.fritz.box (pD9EB0FE0.dip0.t-ipconnect.de. [217.235.15.224]) by mx.google.com with ESMTPSA id n42sm4873862eeh.15.2013.08.06.14.35.02 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 14:35:02 -0700 (PDT) From: Mathias Krause To: Russell King Subject: [PATCH] ARM: fix typo in is_gate_vma() macro Date: Tue, 6 Aug 2013 23:34:35 +0200 Message-Id: <1375824875-1934-1-git-send-email-minipli@googlemail.com> X-Mailer: git-send-email 1.7.10.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130806_173526_352977_72DA84C6 X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: Mathias Krause , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Commit a5463cd3 "ARM: make vectors page inaccessible from userspace" introduced a typo making arch_vma_name() always return "[vectors]". Fix up that regression (of the hush-hush security fix). Signed-off-by: Mathias Krause --- arch/arm/kernel/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 16ed3f7..34fe52d 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -462,7 +462,7 @@ int in_gate_area_no_mm(unsigned long addr) { return in_gate_area(NULL, addr); } -#define is_gate_vma(vma) ((vma) = &gate_vma) +#define is_gate_vma(vma) ((vma) == &gate_vma) #else #define is_gate_vma(vma) 0 #endif