Message ID | 20221027072642.23787-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 l7csp83612wru; Thu, 27 Oct 2022 00:31:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7+eyQYXD+Cv33ceLoQ8qCLJ6F5FGO9cQLJaDcPP8ZKClNVkBgCXHsNXj+ApyAQPTqOWumc X-Received: by 2002:a17:907:97c7:b0:79b:f7c7:35ec with SMTP id js7-20020a17090797c700b0079bf7c735ecmr26367692ejc.362.1666855901851; Thu, 27 Oct 2022 00:31:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666855901; cv=none; d=google.com; s=arc-20160816; b=fKwzlSA2yui6L+5m9h//6ibRbBpiB2YOFy0vXyoaOIdFI7AuHR8aQSF/dsAbO7iWPZ hupD8pH9jcMgjP1YgpfFH0UwmWEzqAEDz5kk1OUdXh6xdtyKM9RinG6gaksMYpykSUyD bCJ/2LP96PEz5LdR7BPQxu84aacnL5/1NzX5SnqR7PZLVhUyjGh6/fMeFhTZ8E70LObq DsIKHN1Xg+v3BKc6bqUkcGXKvB/B1HiSlOs8UWWnHeoUFVG9X1YnLnnjZX+XqEpkQpu0 Sl2iaXg1A8JTBm6WOyXdPu1t7Fyji1FrsnrhWhfjgrM8tTTQq8fc4ZwAeJavd1Odi8c9 Bp6g== 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=fit9DE1uftXws95JgYIXJNf7F1hkoUCp6yPmdEg2Etg=; b=YaMBVYp1Jc9gI1Pb8kfE+nhxoYf02uGHcTe6JWWVlduo00gfXHkK8/hoF166OSIAAa 1KM6vmfDU9Di6LquemQDRktUHVkBiEluBgCqKttNKudr1CFRekuFkrBJmGL+Vx2RPJF+ 2ukpv0zdmzxYpa1Doq6vREcnRluyYUQsJx4mTce2gfvUcu/jK9Cs9+V8yKsdZ73vHokr TNcSlG0Dfw6+EdHOufUFCDSuH4RSmt0RYfTboUICWZZkQqJTD7sVpp/zhJFODdCw9PVH YtuvLu2MPfhG54mBJD31Iq/CfrCNs4KNKKI3jYx5JscS7/nfC2mE3+JbR2At3ds1Foj8 mCqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=NjBwhMzg; 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 s20-20020a056402521400b00461e426dcb0si818764edd.609.2022.10.27.00.31.16; Thu, 27 Oct 2022 00:31:41 -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=NjBwhMzg; 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 S234518AbiJ0H2U (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Thu, 27 Oct 2022 03:28:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229938AbiJ0H2S (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 27 Oct 2022 03:28:18 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAB51153E16; Thu, 27 Oct 2022 00:28:14 -0700 (PDT) X-UUID: c259a5c7d9254db3881abf04af8bfe9e-20221027 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=fit9DE1uftXws95JgYIXJNf7F1hkoUCp6yPmdEg2Etg=; b=NjBwhMzgIpV2QjhmFfavsFozFD0hzPU6FIfOm+3WV2QPRWAVHms6h8t1iCsJ1q87o2LKzgA9EHh1K1JmyAPMZptSv7z/fh0r8AmQOVgC9NfVE1YmoexPzaEWaDDekmYtm3n4CLS3vT+r62mh0I323doX0sHoaSZlET9qDjaYHJs=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.12,REQID:f43c6b74-3081-4e4a-97ba-9770d31875b6,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:100 X-CID-INFO: VERSION:1.1.12,REQID:f43c6b74-3081-4e4a-97ba-9770d31875b6,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTIO N:quarantine,TS:100 X-CID-META: VersionHash:62cd327,CLOUDID:b75ed6e4-e572-4957-be22-d8f73f3158f9,B ulkID:221027152809CX8AZQO0,BulkQuantity:0,Recheck:0,SF:38|28|17|19|48,TC:n il,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: c259a5c7d9254db3881abf04af8bfe9e-20221027 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw01.mediatek.com (envelope-from <mark-pk.tsai@mediatek.com>) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 2146327282; Thu, 27 Oct 2022 15:28:09 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) 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; Thu, 27 Oct 2022 15:28:07 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Thu, 27 Oct 2022 15:28:07 +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] dma-buf: cma_heap: Fix typo in comment Date: Thu, 27 Oct 2022 15:26:38 +0800 Message-ID: <20221027072642.23787-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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY autolearn=ham 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?1747825094476227098?= X-GMAIL-MSGID: =?utf-8?q?1747825094476227098?= |
Series |
dma-buf: cma_heap: Fix typo in comment
|
|
Commit Message
Mark-PK Tsai (蔡沛剛)
Oct. 27, 2022, 7:26 a.m. UTC
Fix typo in comment.
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
Il 27/10/22 09:26, Mark-PK Tsai ha scritto: > Fix typo in comment. > > Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
On Thu, Oct 27, 2022 at 03:26:38PM +0800, Mark-PK Tsai wrote: > Fix typo in comment. > Comment on what function? I had to see the diff context. > 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(-) > > 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, Oh, you refer to cma_heap_allocate(). Please mention it in the patch description. > kunmap_atomic(vaddr); > /* > * Avoid wasting time zeroing memory if the process > - * has been killed by by SIGKILL > + * has been killed by SIGKILL Duplicated "by"? Thanks.
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;