Message ID | 20221028014422.16422-1-mark-pk.tsai@mediatek.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp559316wru; Thu, 27 Oct 2022 18:49:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM79EU8OC/jMtuV3dW/0/Ivb3HHgvWEMbUEcnvQ8EZyznFNGaL9TWLjRvtsSx9mexfBprMIc X-Received: by 2002:a63:2364:0:b0:46f:5de2:30d1 with SMTP id u36-20020a632364000000b0046f5de230d1mr3488138pgm.304.1666921758406; Thu, 27 Oct 2022 18:49:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666921758; cv=none; d=google.com; s=arc-20160816; b=fdH+wekRYEw7sFvla3MNpybE+YC/aijLL5ynZQOItFp+GW9WxYZ6FSlT+jBzGEGUML 4dfwLAqhD5jjl99wbs3kF7KKSDBQlEJ/qtzDtrpvBgXOLoslD0qQZRO7cDu08+lepcC4 YUAVdPuddHJ3sCJeAlCdzV9NE5MTCPoRHGyN9m34b7t9s+auA17cPz9/pRBbXWWhMfYs g12GhvJXZGpWIpqWPllbS5PQ+XcPuo2uLdTUr0W+yqhlTSRF+JQwZTO4zS1QhVPD4CDn x5TPwm0gfajzUnvOr9I28OLad9oaR2snMSGr2lbVHwCs73Uo7QOtLDLNYWjCVI1IA3I1 H/DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=0sbKHWVXXShkCX3JN7lUzEGh0mDmDoQcL73dlPKidD8=; b=aGzeP3zJt7w+vPK5O4kuaoqcImoY+dVx1+01Fl62VyKBNgWd6XRsncoFKD9fswDKWp 1uvGC1QVWBepyV9gN2JoF49NKrJfYwd8hi+Np1TojaIg+sfmeAFcLL5jX0xYmK6Xp0En z9gLsBGVG0QrwFe5gBHzod4/lNi39XrLJufUWkHaMK2Ya328bZNuLmiaunSOHtjzoYDZ LL1KjBLsJ1ZMENvZ93XlTns0whI3GPekI+4WXhnFqTiobW1CMn0nY38VvY7pHWe6jafq f3zaDgsphaZ32zqNwcGiKy2oknyne3e297BESQxcXmFayjzX0jCFEoHwYAlqTnIXTSHc DqGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=H2k+ZajG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 184-20020a6301c1000000b0041c8dfb29f0si3496804pgb.705.2022.10.27.18.49.06; Thu, 27 Oct 2022 18:49:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=H2k+ZajG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235347AbiJ1BpO (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Thu, 27 Oct 2022 21:45:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235168AbiJ1BpL (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 27 Oct 2022 21:45:11 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F121476E4; Thu, 27 Oct 2022 18:45:02 -0700 (PDT) X-UUID: cdf6d7484af040168f660816489631b1-20221028 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=0sbKHWVXXShkCX3JN7lUzEGh0mDmDoQcL73dlPKidD8=; b=H2k+ZajGubNASIhhxJS6FXHTRKOehD1rkBVEv/fjoKg/eXctDeH5tNpuPNSGbSvbgO17AHeA+9pEMYxJJNV5CKbVzHY4Ezu25/QS1gsv9FaopCd9DylhKlnTiJ5DdFctQxI6nwOBHJu1liK1EO8ZpjOFaq81jKaFTSqd3K7ZzAM=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.12,REQID:3ac2e247-f2c4-483c-a128-e53cb283c3a4,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:62cd327,CLOUDID:5033566d-89d3-4bfa-baad-dc632a24bca3,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: cdf6d7484af040168f660816489631b1-20221028 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from <mark-pk.tsai@mediatek.com>) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 2084764037; Fri, 28 Oct 2022 09:44:56 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Fri, 28 Oct 2022 09:44:54 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Fri, 28 Oct 2022 09:44:54 +0800 From: Mark-PK Tsai <mark-pk.tsai@mediatek.com> To: Sumit Semwal <sumit.semwal@linaro.org>, Benjamin Gaignard <benjamin.gaignard@collabora.com>, Liam Mark <lmark@codeaurora.org>, "Laura Abbott" <labbott@redhat.com>, Brian Starkey <Brian.Starkey@arm.com>, "John Stultz" <jstultz@google.com>, =?utf-8?q?Christian_K=C3=B6nig?= <christian.koenig@amd.com>, Matthias Brugger <matthias.bgg@gmail.com> CC: <yj.chiang@mediatek.com>, Mark-PK Tsai <mark-pk.tsai@mediatek.com>, <linux-media@vger.kernel.org>, <dri-devel@lists.freedesktop.org>, <linaro-mm-sig@lists.linaro.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-mediatek@lists.infradead.org> Subject: [PATCH v2] dma-buf: cma_heap: Fix typo in comment Date: Fri, 28 Oct 2022 09:44:17 +0800 Message-ID: <20221028014422.16422-1-mark-pk.tsai@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_SPF_TEMPERROR, UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747894149910617337?= X-GMAIL-MSGID: =?utf-8?q?1747894149910617337?= |
Series |
[v2] dma-buf: cma_heap: Fix typo in comment
|
|
Commit Message
Mark-PK Tsai (蔡沛剛)
Oct. 28, 2022, 1:44 a.m. UTC
Remove duplicated "by" from comment in cma_heap_allocate().
Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com>
---
drivers/dma-buf/heaps/cma_heap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Fri, Oct 28, 2022 at 09:44:17AM +0800, Mark-PK Tsai wrote: > Remove duplicated "by" from comment in cma_heap_allocate(). > This patch isn't typofix but duplicate word stripping, right? If so, the patch subject should be "dma-buf: cma_heap: Remove duplicated 'by'". Thanks.
> [-- Attachment #1: Type: text/plain, Size: 349 bytes --] > > On Fri, Oct 28, 2022 at 09:44:17AM +0800, Mark-PK Tsai wrote: > > Remove duplicated "by" from comment in cma_heap_allocate(). > > > > This patch isn't typofix but duplicate word stripping, right? If so, the > patch subject should be "dma-buf: cma_heap: Remove duplicated 'by'". Okay, I've update the title in v3. Sorry for the horrible commit description. Thanks. > > Thanks. > > --
Mark-PK Tsai <mark-pk.tsai@mediatek.com> writes: >> [-- Attachment #1: Type: text/plain, Size: 349 bytes --] >> >> On Fri, Oct 28, 2022 at 09:44:17AM +0800, Mark-PK Tsai wrote: >> > Remove duplicated "by" from comment in cma_heap_allocate(). >> > >> >> This patch isn't typofix but duplicate word stripping, right? If so, the >> patch subject should be "dma-buf: cma_heap: Remove duplicated 'by'". > > Okay, I've update the title in v3. > Sorry for the horrible commit description. > Thanks. Your original commit description was just fine, you just had the bad luck to draw the attention of somebody who likes telling other contributors what to do. Thanks, jon
diff --git a/drivers/dma-buf/heaps/cma_heap.c b/drivers/dma-buf/heaps/cma_heap.c index 28fb04eccdd0..cd386ce639f3 100644 --- a/drivers/dma-buf/heaps/cma_heap.c +++ b/drivers/dma-buf/heaps/cma_heap.c @@ -316,7 +316,7 @@ static struct dma_buf *cma_heap_allocate(struct dma_heap *heap, kunmap_atomic(vaddr); /* * Avoid wasting time zeroing memory if the process - * has been killed by by SIGKILL + * has been killed by SIGKILL */ if (fatal_signal_pending(current)) goto free_cma;