Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp925343pxu; Wed, 7 Oct 2020 21:17:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYBd7npbFD/3YgIAPB3aWvoBUs5uayWH9agTbAa1dg8509d88PuSYTwleT7zFR/WmbpQCA X-Received: by 2002:a17:906:5046:: with SMTP id e6mr7034047ejk.449.1602130675851; Wed, 07 Oct 2020 21:17:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602130675; cv=none; d=google.com; s=arc-20160816; b=Ix3WqhlKU5grNMaLViS469MhsPtumd+1i7n03NYSoDi7ZyXWodJ6Hl7CHYBtqjxMAy IJQSoZFPPgDtaN6elq5f65IgxMYMtj6tQMwuIoHayFPzneaygR+bebj8feWS+WRxK0j/ Ck3gH9009gkVeLawEj53Kroog+Pn72hxXYN8X4IyIW+jpDo/7FEWOMPwY5NQsI97eaZo ugvdaWqBwSdemBPpPYm7hskzrEh1zXIaWWVVt6WLuJKrUm7tpPIbhvHJFWyNBaomPrvX I1ur0flLWAYeHF53KbJbHdtLaPEKCg7UinfK9n0Vj5epHoHuNQu1dd/eK7Cd2HyCDWci f8Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=epOsPM+GfGFNG1tX0bdsLvVn3NVsyOem8V1fi1iQRnE=; b=LPMvhPBM1ib1nduXFEYDzdguXGezpXnOoqIYAkc497f6h5PcOR+2L+OiceeTXK7f1M nQdbxCyMaXzcF4xUTN9ptFjElUX4d/Mnd5/TGlHBmdUzEKJJN9+g91cfCcreSs5F455j TwFx5S4cEAkVbIDh8z6hT7GNEA5qF5tPn/5go2ojgOPdfvR+n4u8SAB8JstuJNLcnwsU 5yAsxm3WUee/g8KTIvDf8T1GiOiyxH6W8muIQOnjFz1H3WU7nlS6H205XMK0vT9xdjtI eRGXyjcwtkRes0njAEJvfqoH81Yhg+rskAn4/oBICEtc+8xmJ1fuJDTWYZLj733PM5ed F5sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Aw304WKc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f16si2697678ejt.311.2020.10.07.21.17.32; Wed, 07 Oct 2020 21:17:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Aw304WKc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727954AbgJHDI5 (ORCPT + 99 others); Wed, 7 Oct 2020 23:08:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727359AbgJHDI5 (ORCPT ); Wed, 7 Oct 2020 23:08:57 -0400 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14F7DC061755 for ; Wed, 7 Oct 2020 20:08:57 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id 33so4251525edq.13 for ; Wed, 07 Oct 2020 20:08:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=epOsPM+GfGFNG1tX0bdsLvVn3NVsyOem8V1fi1iQRnE=; b=Aw304WKc6ervMoS1h9Fu4jp6bkZ0f6JWCrTe7S5mfXx1YnKsMGMr3UUj6z09IAAIoW sZgcvKVtrELccBGzFsczFyqUWI31XiDmyie+Wg4fnNyHechr40V7NsqcGDGWLHsJ5y4C iRPXHkoBfKmZskjWxaxAYn5yTBMyOpuIuCh1XdNlgHjMtiqs6O2hisExvGv7tUj5jUNY YRSCpWc5Sxe+mrdrJfifJE1b7Mp6BePRRB7QMzg3knjiJERgXbvw9e9jZP4TbIRMb+7Y diKaHQY5Z2+eUb54oF3+gSUJbWHkLOnCZoGD+4kiQLrMsmGjw6+Flz/raY8qzcjevYRD TLYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=epOsPM+GfGFNG1tX0bdsLvVn3NVsyOem8V1fi1iQRnE=; b=uI4MpRF2THQnd268P3d8UohCGap8ZdzA2eqZVJXubtdAGFXfEpD/I/e1IouHgbBoym iGScOdCHFbXoj89KU3nPrsR5C3+vWYUR0q2os+quwl0obvsOnLFIELEJtB3bGagTQkwb 1ZAqbasjHV4bIn/5Ux33pDIhxmg/wzBOES5SRKzOftmulL8rehtqbHCrwAAUcv9cb7Bs meOX56mLlt/gScTk2uFIx4AnI/7zeb2/rgClisqmPyGdZGBbX4/D/sDJRlVqKdi8SoCB Hed+5V1NqR8B6OuvyrMIkzflmvKCyhlrx36aDYUvPrnXJVnrMfnao24c1dwfJ666qL+J 3SCw== X-Gm-Message-State: AOAM531wmCen1I/thJQIxf9xwfQ0fw1YPi2IvqMs4rPSR6zBAEKl+qg1 2noyibGB2pBj3ggpdFGqsoICk3DUaFVWg2uULpw= X-Received: by 2002:a05:6402:14cd:: with SMTP id f13mr6672382edx.75.1602126535675; Wed, 07 Oct 2020 20:08:55 -0700 (PDT) MIME-Version: 1.0 References: <1602125965-31698-1-git-send-email-zhouzhouyi@gmail.com> <1e7d9b9a-b90b-48c5-1fd9-51244b843507@infradead.org> In-Reply-To: <1e7d9b9a-b90b-48c5-1fd9-51244b843507@infradead.org> From: Zhouyi Zhou Date: Thu, 8 Oct 2020 11:08:44 +0800 Message-ID: Subject: Re: [PATCH] kprobes: Correct a type error in function kprobes_module_callback To: Randy Dunlap Cc: naveen.n.rao@linux.ibm.com, anil.s.keshavamurthy@intel.com, David Miller , mhiramat@kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks for the tip! On Thu, Oct 8, 2020 at 11:06 AM Randy Dunlap wrote: > > Hi, > > On 10/7/20 7:59 PM, Zhouyi Zhou wrote: > > There is a tiny type error in comment of function kprobes_module_callback. > > Preferable > typo > and same in $Subject. > > 'type' usually means data type or maybe typedef, or even > font or typeface. > > I suppose you could say a "typing" error (as in using a typewriter > or keyboard). > > > > > Signed-off-by: Zhouyi Zhou > > --- > > kernel/kprobes.c | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/kernel/kprobes.c b/kernel/kprobes.c > > index e995541..9d2042b 100644 > > --- a/kernel/kprobes.c > > +++ b/kernel/kprobes.c > > @@ -2432,7 +2432,7 @@ static int kprobes_module_callback(struct notifier_block *nb, > > within_module_core((unsigned long)p->addr, mod))) { > > /* > > * The vaddr this probe is installed will soon > > - * be vfreed buy not synced to disk. Hence, > > + * be vfreed but not synced to disk. Hence, > > * disarming the breakpoint isn't needed. > > * > > * Note, this will also move any optimized probes > > > > thanks. > -- > ~Randy >