From patchwork Sun May 29 14:42:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jinbum Park X-Patchwork-Id: 9139789 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 EC9C060755 for ; Sun, 29 May 2016 14:45:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DD6EE20410 for ; Sun, 29 May 2016 14:45:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D03082796F; Sun, 29 May 2016 14:45:00 +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 8B6BF20410 for ; Sun, 29 May 2016 14:45:00 +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 1b71vY-0001cG-Ml; Sun, 29 May 2016 14:42:52 +0000 Received: from mail-pa0-x244.google.com ([2607:f8b0:400e:c03::244]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b71vU-0001Zh-Q3 for linux-arm-kernel@lists.infradead.org; Sun, 29 May 2016 14:42:50 +0000 Received: by mail-pa0-x244.google.com with SMTP id fg1so18594454pad.3 for ; Sun, 29 May 2016 07:42:27 -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=tGS5DA0LUozK7L+Dc72IPu8OFAf0RO1YrF3SudctaTsMQCRpa7gmwL76Uei5WmF9uY HWB/WVnkSGu27jQFwnOlx8gvZiRRYtuNRXGpCe8dDsBbr+3Chbmof5el6Uq/ol2vRbob avmSUkKva4IfIyvkoZKUPCvzM+IBj2uMHrs7WWjLMP10qmEqAKgTG/I1IyhPbuRXt+Db 0fDJzwWXvxn7D/0AqpTe/yIP8jEblKJIZX2TFPjW07Ar/HAgU/TzTH11MuriBI1K1UAE BqatPNOwbhj5JLBuNwY7QhCTyg8XLwDPUFiqnbkiV1HaxTcHcEy2RAJW/bZFdxZpKFBV gQEQ== 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=bY1maUUe/Ki3b2LDBj5FqcOTLJU5uZssfCTOt+Q3oHvynAed3q5zs71ydgbCWddJ/j nOxVqM/J64O1ReF5n0rywP64FPaQKBkjRq4/m6BaHUWwK5W/g5xccNrBP1DXw0T7k4ZC 9UUhyyLi7WRvja2m8ge2YpiNEF/UrmW/R7KwlMSiJQta5JwvtJTqSp3541vvx5ekTmZU y9cYzM74BCiK8BQLW6E6wpAKOyfRiNk0F920RvcY4/sUn1E4cZ8Ps+/Xne2iaY+6+UTl 1NX6PWroOeFHY7JCn3amFsA3auOfdcYKCZM1okY79ix/sOsTGwi1iLcvZgWFY7Oca/1C Gy/A== X-Gm-Message-State: ALyK8tIAF7UM2FZdkT4DlwysaRxHJnRQB7AL+WYFOCvlx0zFPCC1ejCPP3FsO5Ut3cvIfw== X-Received: by 10.66.159.102 with SMTP id xb6mr38143849pab.73.1464532947474; Sun, 29 May 2016 07:42:27 -0700 (PDT) Received: from pjb1027-Latitude-E5410 ([1.241.137.137]) by smtp.gmail.com with ESMTPSA id n10sm40979368pax.18.2016.05.29.07.42.25 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Sun, 29 May 2016 07:42:26 -0700 (PDT) Date: Sun, 29 May 2016 23:42:21 +0900 From: Jinbum Park To: mhiramat@kernel.org Subject: [PATCH] kprobes: fix a comment typo Message-ID: <20160529144221.GA14080@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-20160529_074248_894880_6FAC8B82 X-CRM114-Status: GOOD ( 10.79 ) 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@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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 --- 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):