From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C998C25B48 for ; Fri, 27 Oct 2023 02:43:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345182AbjJ0Cn6 (ORCPT ); Thu, 26 Oct 2023 22:43:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230307AbjJ0Cn4 (ORCPT ); Thu, 26 Oct 2023 22:43:56 -0400 Received: from mailgw.kylinos.cn (mailgw.kylinos.cn [124.126.103.232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 189A7D44 for ; Thu, 26 Oct 2023 19:43:52 -0700 (PDT) X-UUID: e3ade452841d40eba156ba9b12063c01-20231027 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.32,REQID:85ed7e5a-3e71-4548-95cc-e239cd42330d,IP:10, URL:0,TC:0,Content:-5,EDM:0,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,ACT ION:release,TS:-10 X-CID-INFO: VERSION:1.1.32,REQID:85ed7e5a-3e71-4548-95cc-e239cd42330d,IP:10,UR L:0,TC:0,Content:-5,EDM:0,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:-10 X-CID-META: VersionHash:5f78ec9,CLOUDID:5314d4fb-4a48-46e2-b946-12f04f20af8c,B ulkID:23102710433067VY2P35,BulkQuantity:0,Recheck:0,SF:38|24|17|19|44|64|6 6|102,TC:nil,Content:0,EDM:-3,IP:-2,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil ,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_FAS,TF_CID_SPAM_FSD,TF_CID_SPAM_FSI X-UUID: e3ade452841d40eba156ba9b12063c01-20231027 X-User: chentao@kylinos.cn Received: from [172.21.13.26] [(116.128.244.171)] by mailgw (envelope-from ) (Generic MTA) with ESMTP id 240269613; Fri, 27 Oct 2023 10:43:27 +0800 Message-ID: <6232bb2c-d0b6-4b54-bf29-6f8611542e89@kylinos.cn> Date: Fri, 27 Oct 2023 10:43:26 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] drm/atomic: Spelling fix in comments Content-Language: en-US To: Hamza Mahfooz , daniel@ffwll.ch, airlied@gmail.com, tzimmermann@suse.de, mripard@kernel.org, maarten.lankhorst@linux.intel.com Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, kunwu.chan@hotmail.com References: <20231025082634.34038-1-chentao@kylinos.cn> From: Kunwu Chan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hamza, Thank you very much for your guidance and advice to me, I have revised it according to your suggestion. On 2023/10/25 22:50, Hamza Mahfooz wrote: > Hi Kunwu, > > Can you make the tagline something along the lines of `drm/atomic > helper: fix spelling mistake "preceeding" -> "preceding"`, in general to > determine an appropriate prefix, you can see what previous commits used > when making changes to files in your particular patch, e.g. using the > following: > > $ git log drivers/gpu/drm/drm_atomic_helper.c > On 10/25/23 04:26, Kunwu Chan wrote: >> fix a typo in a comments. > > For patch descriptions you should try to more descriptive. > > So, something like "There is a spelling mistake in > drm_atomic_helper_wait_for_dependencies()'s kernel doc. Fix it." would > be better. > >> >> Signed-off-by: Kunwu Chan >> --- >>   drivers/gpu/drm/drm_atomic_helper.c | 4 ++-- >>   1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/drivers/gpu/drm/drm_atomic_helper.c >> b/drivers/gpu/drm/drm_atomic_helper.c >> index 2444fc33dd7c..c3f677130def 100644 >> --- a/drivers/gpu/drm/drm_atomic_helper.c >> +++ b/drivers/gpu/drm/drm_atomic_helper.c >> @@ -2382,10 +2382,10 @@ int drm_atomic_helper_setup_commit(struct >> drm_atomic_state *state, >>   EXPORT_SYMBOL(drm_atomic_helper_setup_commit); >>   /** >> - * drm_atomic_helper_wait_for_dependencies - wait for required >> preceeding commits >> + * drm_atomic_helper_wait_for_dependencies - wait for required >> preceding commits >>    * @old_state: atomic state object with old state structures >>    * >> - * This function waits for all preceeding commits that touch the same >> CRTC as >> + * This function waits for all preceding commits that touch the same >> CRTC as >>    * @old_state to both be committed to the hardware (as signalled by >>    * drm_atomic_helper_commit_hw_done()) and executed by the hardware >> (as signalled >>    * by calling drm_crtc_send_vblank_event() on the >> &drm_crtc_state.event).