Message ID | 20221028065533.23856-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 l7csp671541wru; Fri, 28 Oct 2022 00:19:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Z6HTiNIGsTHLyNUWaPWosmYAFrK3tdVQWDPKAbnZL1iMICF+Sl9r3O64L6XnDxrlMtIEk X-Received: by 2002:a17:903:2303:b0:186:8ef3:5efb with SMTP id d3-20020a170903230300b001868ef35efbmr31807568plh.118.1666941543631; Fri, 28 Oct 2022 00:19:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666941543; cv=none; d=google.com; s=arc-20160816; b=sZM2Y3phtjYUHmaYDVCRsChpq30AiuMA5cgQZj+QgfH7QYWbIwbKXSAAktCWWbj/kc QG6GVr+vgtKoHSy7O3IksbacdWG5VRnrZtrsBTR/92Zzvph1bVWWOhdTTWYdguAFKldq DHKpMLeZnT0WrYikidlBYc3AYr+9QPmhDtPkr5wJBkJ/H+IaAqoqlwuwCiKmLya8sVd2 lQ1YQeZXV2B2IzzGk7fMcownVpLKI0ker3MdHq01oKslHMkmhfaq3Ic05bMWdcqaQWs9 IaWdHtg0cGKbF3QQ0AiY1RHMxwOOGM6d2TbEn3mKccVj31fepvgl/KiSdE5SVu0S93ni DWAw== 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=Om6e9HJa3Y2xbqqlidvMSIavVsT9gkHzqKrxqv9RHmM=; b=uF1odUhtktkdN2u8UbkEPtmjWMHed0GVwhanolUpy+nCBou9Qn010N61LkzcVk3LRG 5RN2oy0BEyGAVYOXJLWhEOW8pWY4Ha7O6teyTI8ddzfUotkXCgGcXkHz3uxPcURkcJ9e Ovn3oy2E9oQciFcwQWykg6saBWZAq/SIZT9FsCXM+KEJIIarJolQlBpscck1IMafH8Yu wAzj5tdd2MIPam22Pg+2sIrQF7fN61Ez8bvvSnqbQqSiepXmzot6UDh7qXIXJt42kaic 5NVX/kq6WCB5uR9ykAvht+Pw5L8A7gFjgUViq7/yfUZsO2BeZv1fSf3mNuFhtY8BZ5ib k5ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=anKIvAMl; 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 x9-20020a170902820900b00175449cf6f8si3764042pln.606.2022.10.28.00.18.50; Fri, 28 Oct 2022 00:19:03 -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=anKIvAMl; 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 S229870AbiJ1G4I (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Fri, 28 Oct 2022 02:56:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230030AbiJ1Gz7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 28 Oct 2022 02:55:59 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68C5D5B70F; Thu, 27 Oct 2022 23:55:41 -0700 (PDT) X-UUID: f56dba9acbb249abaeed337066c527f0-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=Om6e9HJa3Y2xbqqlidvMSIavVsT9gkHzqKrxqv9RHmM=; b=anKIvAMl8gYU0EQ1LtLet6Zb1/AHJF/raCeGXrbsW3dbd9BJxf4AgKd7s6V9C+njJl+msVYIJhICS2WX4q2q1vhTvvkZsN80p1+u3WCMs+sjKsd94kDT2q/xehT+efwShxYUbD/3i6+lUBv9Wo+K127JSMbgLp7+/VKp+LqiEfA=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.12,REQID:bbf317af-822f-4da6-9921-2a58100b0b80,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:0ae76827-9eb1-469f-b210-e32d06cfa36e,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: f56dba9acbb249abaeed337066c527f0-20221028 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] 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 2077977924; Fri, 28 Oct 2022 14:55:35 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Fri, 28 Oct 2022 14:55:34 +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 14:55:34 +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 v3] dma-buf: cma_heap: Remove duplicated 'by' in comment Date: Fri, 28 Oct 2022 14:55:26 +0800 Message-ID: <20221028065533.23856-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,SPF_PASS,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?1747914895842288922?= X-GMAIL-MSGID: =?utf-8?q?1747914895842288922?= |
Series |
[v3] dma-buf: cma_heap: Remove duplicated 'by' in comment
|
|
Commit Message
Mark-PK Tsai (蔡沛剛)
Oct. 28, 2022, 6:55 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
Hi, On 10/28/2022 12:25 PM, Mark-PK Tsai wrote: > 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(-) > > 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; LGTM. Reviewed-By: Mukesh Ojha <quic_mojha@quicinc.com> -Mukesh
On Thu, Oct 27, 2022 at 11:55 PM Mark-PK Tsai <mark-pk.tsai@mediatek.com> wrote: > > Remove duplicated 'by' from comment in cma_heap_allocate(). > > Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com> Thanks for sending this and going through a few iterations! Acked-by: John Stultz <jstultz@google.com> -john
Il 28/10/22 08:55, Mark-PK Tsai ha scritto: > Remove duplicated 'by' from comment in cma_heap_allocate(). > > Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com> > Reviewed-By: Mukesh Ojha <quic_mojha@quicinc.com> > Acked-by: John Stultz <jstultz@google.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
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;