Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3104156rdb; Tue, 26 Dec 2023 16:45:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IEutNf799vCklvLbkKpg+MyZmcNsG97gWZDhxgdeUGaRfkvHD2qjEE5cXPcgR+Wowi4K0zL X-Received: by 2002:a05:6a20:6a23:b0:195:204f:a71a with SMTP id p35-20020a056a206a2300b00195204fa71amr11028729pzk.80.1703637941164; Tue, 26 Dec 2023 16:45:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703637941; cv=none; d=google.com; s=arc-20160816; b=grrFcUXjlAMDnDwXx90unWMpFqrX5lWTKkSR82WMZ10vakf7bfRv5o3MZgKMYDuQs7 MoMPAPJngLQs9WU8KvMmCN3UifRnalU17iyAeoeZLKzOOpr6B0gzZhK7Vwwxxi1D/4yH S/EQ6+g09Rj7y8QBFvpbZoHl9IhVGUSxXuFXo+iPCH+8i3MMdioWnSYNEBZa3dUnlhMj OM/+IP9SoXpdKzX//LjhWgMId8Cu+Rx7u1qpo+soej0y3wd79HH9BOy1/1wr2uorD688 260xzdmMwmbzatzbtjeNa6WtZKXdvik1FvOgfaawvLYx0q1G53sTk8Ldx6cPwHU80fMF PCoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=6tfB8NVprQLkYBXdgGgiZqGVbBwkRH8ck3CiALnCtRo=; fh=XOBssNIGNZ1x2++5M0w9JUVGQ8Sw5kKyBZpDZovxomo=; b=B3RVi3BL1AHrgNYZ2hitlLuzE14AajXtmtyeAS64SNFDOxbtj+48RvAJVFD7bcrL/Y LcZbocXnHYnlZoJNaRnM3fyZzOMT3fNHNs4fdWIYGMYoSvvRTzR5l9W+S4OUzTkb1cFX iim/Mt1/7LrLODq/kXYLb9j73yqYmnXHhrEkBaCuQ7xt46HSc7HvEe7oDsgvLlFq4xlB 5HZkmm/hwyHWbQKpOWliW9fOeYQa6FBjlsOs2CkxKWZw9WvwXwcayZ/gzWS/00ryRB4g FxYwrhfD5H1T2DuDxsKmhC9AO44ds4kYTfUpe1HBvvXZ9wpgrMcUL4Fbz0hcicOE0RJg HZug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=KGsmrGBM; spf=pass (google.com: domain of linux-kernel+bounces-11737-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11737-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 82-20020a630155000000b005ce0a1164aesi5398810pgb.616.2023.12.26.16.45.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 16:45:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11737-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=KGsmrGBM; spf=pass (google.com: domain of linux-kernel+bounces-11737-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11737-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id C34E5B220BF for ; Wed, 27 Dec 2023 00:45:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B49B71C02; Wed, 27 Dec 2023 00:45:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ellerman.id.au header.i=@ellerman.id.au header.b="KGsmrGBM" X-Original-To: linux-kernel@vger.kernel.org Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 10327A32 for ; Wed, 27 Dec 2023 00:45:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ellerman.id.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1703637915; bh=6tfB8NVprQLkYBXdgGgiZqGVbBwkRH8ck3CiALnCtRo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=KGsmrGBMs0xb0zD4RZcDYgTaKETlxUVGI2hcw6B2HccFigRsdsdHZHH+jE0ggdvc7 9C6qUZRuTFGpoAsOXzs+jGu3T6ZtpBtVToQqMak54CanOLxZ0zKK7m4Q4qWKl3wGbN f74EBEy5rAs3u1P0WN4ja9HsOaiRMONVYGCgR2GK5Xc7RKIYqejtmO/Y7M2NbTbo05 OExf0OrsecOdiSvP4ijHxxCH4gsVvL8Agwf2iRkFFVXDuzZ2+fN74T/7IitWi/w0oB /1pHcXMpXFLQuPPh1eF1syLq8cpd8S2rTRTX7Oi7TEeADEoivTthKupLPyjY5Edevh k+7vCEdo524bg== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4T0CbZ5lZBz4wc3; Wed, 27 Dec 2023 11:45:14 +1100 (AEDT) From: Michael Ellerman To: Ghanshyam Agrawal Cc: mahesh@linux.ibm.com, oohall@gmail.com, npiggin@gmail.com, christophe.leroy@csgroup.eu, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arch: powerpc: kernel: fixed some typos In-Reply-To: References: <20231215115857.575697-1-ghanshyam1898@gmail.com> <87il4rlrw2.fsf@mail.lhotse> Date: Wed, 27 Dec 2023 11:45:13 +1100 Message-ID: <8734volbhi.fsf@mail.lhotse> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ghanshyam Agrawal writes: > On Thu, Dec 21, 2023 at 4:55=E2=80=AFPM Michael Ellerman wrote: >> >> Ghanshyam Agrawal writes: >> > Fixed some typos >> > >> > Signed-off-by: Ghanshyam Agrawal >> > --- >> > arch/powerpc/kernel/eeh_pe.c | 6 +++--- >> > 1 file changed, 3 insertions(+), 3 deletions(-) >> >> Please also fix the case in arch/powerpc/include/asm/eeh.h >> >> The subject should use the correct prefix. You can see what it should be >> using: >> >> $ git log --oneline arch/powerpc/kernel/eeh_pe.c >> >> Please give the patch a better subject, not "some typos", tell me what >> misspelling you're fixing. Same comment for the commit description. >> >> > diff --git a/arch/powerpc/kernel/eeh_pe.c b/arch/powerpc/kernel/eeh_pe= .c >> > index e0ce81279624..8e0c1a8b8641 100644 >> > --- a/arch/powerpc/kernel/eeh_pe.c >> > +++ b/arch/powerpc/kernel/eeh_pe.c >> > @@ -24,10 +24,10 @@ static int eeh_pe_aux_size =3D 0; >> > static LIST_HEAD(eeh_phb_pe); >> > >> > /** >> > - * eeh_set_pe_aux_size - Set PE auxillary data size >> > - * @size: PE auxillary data size >> > + * eeh_set_pe_aux_size - Set PE auxiliary data size >> > + * @size: PE auxiliary data size >> >> While you're changing it you could also mention what the units of the >> size are. >> >> > * >> > - * Set PE auxillary data size >> > + * Set PE auxiliary data size >> >> This should gain a full stop at the end of the sentence. >> >> > */ >> > void eeh_set_pe_aux_size(int size) >> > { >> > -- >> > 2.25.1 > > Hi Michael, > > Thank you very much for your suggestions. I will implement them > and send a v2 patch. > > You mentioned I need to specify the units of "PE auxiliary data size". > Is the unit BYTES? Sorry for the silly question, I am only beginning > to contribute to the linux kernel. That's OK. Yes it's bytes. If you look for where eeh_pe_aux_size is used, it's added to some other values and then eventually passed to kzalloc(), which takes a size in bytes. So you can infer that it is also in units of bytes. cheers