From patchwork Wed Jun 15 15:19:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jinbum Park X-Patchwork-Id: 9178769 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 B591060573 for ; Wed, 15 Jun 2016 15:21:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4D1427DCE for ; Wed, 15 Jun 2016 15:21:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 996D027F07; Wed, 15 Jun 2016 15:21:15 +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.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID 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 4881827DCE for ; Wed, 15 Jun 2016 15:21:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1bDCbc-0002jw-LW; Wed, 15 Jun 2016 15:19:48 +0000 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bDCba-0002hB-VL for linux-arm-kernel@lists.infradead.org; Wed, 15 Jun 2016 15:19:47 +0000 Received: by mail-pf0-x242.google.com with SMTP id c74so1995292pfb.0 for ; Wed, 15 Jun 2016 08:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=lUgYc+cj5/9xHQ6xJgS+b2MiFCurmMPDdSAdJg4/OkU=; b=sFD+yC6Mjwn7c89SfQNYyTtF/Q91/8FWAVPramONjP5f06jSb1QmP6VhiDHbuNvF5M dGEgP9RgXDflNld69ghHVHVRchqPhtvjm6K9RytNG0vXnGTNvTn8LKBJhZRqeD0jEYxW CWnQ7OPjjNYuJ87F/04FlWL+mVfWd2WpjPgAWzal4oC0C7FlqdyxR7HHVTbJ/Lc3sqBl YipEksD/948d0ZgCPA14aK0nYlveq36FZ9MWfLZNqQEJJzCx3wSMkd8iHXWnxbSJ3Gli RWqr3eAK/QdIoczhk3aFrv7kwG7aIiH78Zy9JdzC2XQTXkevdKClmYp3yN6GNcPYjOvO vPTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=lUgYc+cj5/9xHQ6xJgS+b2MiFCurmMPDdSAdJg4/OkU=; b=Mi3I8fQafWo39wVAfEouphb1p6KCn2uOg2Z9HGCKvlS0t2j1Go/Dr1EPPvGe97GFdL 4rBwK5cDlfJBdWKMzz5n91kVI8jyuccByRGQca5XE4SLcqL2ynhA64qQAMCbpJEzBW8C Om6sJcR/hAc1PjNUIizp8/KaVqgJ9uXgna8GP8Jh3R5ux+hjtzHRjLGjiCxQaAkosLlB MdKV59Lz0oXbGge51l8q5r4GmcvIVK8V6mFHGFvB7dHioC/pS0QR+pxOMr6ilukmddvG VSTKH7x/B0zObPTw02sMQlTO7XIUfXp5H9k7cFhkMmD4XavmoTaUwfS3tqE1h/itm0im mftg== X-Gm-Message-State: ALyK8tJDhydUxozfmU+kM1faY0xpu9Z5iy+xsG985eM9voKLL1Do3w5AOepNADN2wjlCYA== X-Received: by 10.98.59.150 with SMTP id w22mr4391283pfj.4.1466003965263; Wed, 15 Jun 2016 08:19:25 -0700 (PDT) Received: from pjb1027-Latitude-E5410 ([1.241.137.137]) by smtp.gmail.com with ESMTPSA id x66sm40462178pfi.84.2016.06.15.08.19.21 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 15 Jun 2016 08:19:24 -0700 (PDT) Date: Thu, 16 Jun 2016 00:19:22 +0900 From: Jinbum Park To: ananth@linux.vnet.ibm.com, anil.s.keshavamurthy@intel.com, davem@davemloft.net, mhiramat@kernel.org Subject: [PATCH] kprobes: fix a comment typo Message-ID: <20160615151922.GA30806@pjb1027-Latitude-E5410> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160615_081947_040233_7520BA32 X-CRM114-Status: GOOD ( 10.46 ) 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-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux@armlinux.org.uk 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 Just fix a typo in the code comment. Signed-off-by: Jinbum Park Acked-by: Masami Hiramatsu --- arch/arm/probes/kprobes/opt-arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/probes/kprobes/opt-arm.c b/arch/arm/probes/kprobes/opt-arm.c index bcdecc2..073c0ba 100644 --- a/arch/arm/probes/kprobes/opt-arm.c +++ b/arch/arm/probes/kprobes/opt-arm.c @@ -223,7 +223,7 @@ int arch_prepare_optimized_kprobe(struct optimized_kprobe *op, struct kprobe *or * * So the maximum forward branch should be: * (0x007fffff << 2) = 0x01fffffc = 0x1fffffc - * The maximum backword branch should be: + * The maximum backward branch should be: * (0xff800000 << 2) = 0xfe000000 = -0x2000000 * * We can simply check (rel & 0xfe000003):