Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2124559rwa; Mon, 22 Aug 2022 02:32:11 -0700 (PDT) X-Google-Smtp-Source: AA6agR4trCpuoSMOrbkiehTE2yvYXCPJHFyVXmfhqrrUskugjoY5qsg1vEs7vrQksjnfHwij1jvg X-Received: by 2002:a05:6a00:1650:b0:52f:20d6:e858 with SMTP id m16-20020a056a00165000b0052f20d6e858mr19934940pfc.36.1661160731211; Mon, 22 Aug 2022 02:32:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661160731; cv=none; d=google.com; s=arc-20160816; b=b7n/Oega0kAoaUT30pPh7BsgjeiLmLKZDYp/XCckUJsTxhckcAVHQDfnvrVkBYyVtP MHCjUVNjdaUjirUJ237Hhdr31gcIxBEthbPq6+CA0UJjZQRoMemRJ/0TUfjgCTKXmEXi McMM/iS8GlHR+4b6bCwkyoRab2BpKSv4cCD9zzFZHebJWNSKBOr7gV47vfQWdseLZ6iZ tU1xRea34N78azhaT0V7IhvxSohUVXq1d4+a9WCHoGC8zDezKTrxUnShnvkaLfeBSsv9 4ynqm3R+KVOYFl6ep94XApbYSHjq/QxdEi9qHvjvOGl1NRKNTTJsuEDef9Roey9zHnEZ qpDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=9IC5M7BF9hTpCrKZAXmcZG/SS24I94PyeT2tdtxhlCo=; b=IoJroMIELWPakuO7/OAHulU1D4fUJ8EwykcY9qXAL+McIXwpNMKakKkGkCCWLe3jgE 4mjmG3w7yM6gObdkrEYCX2c3DPw5bHeFq4Kl+aLmsNP11eVXHU86mklNX3fPd3gSYVWr w1kmrxeDfNwai4jCakxr93xICih8Ejyej7l1FCjfb3ShU6Mge1vcxx4jy+hnuCHPfy4Z NSWb9L618tk7/3FAqSkMB0Jk2w7nCV2lBwGJBxeK4HPiTZLuOeMCNRy2x8lUQ90vb0Ek 4+UMfFw//7mUWFNOUxUzzFLt5qC5EAjKibrM0uf9np91zFh9QoPJxwOEqXeFEqkQUjj/ Mrng== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k201-20020a6284d2000000b00535fc5e755dsi10486020pfd.82.2022.08.22.02.32.00; Mon, 22 Aug 2022 02:32:11 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233615AbiHVIkA (ORCPT + 99 others); Mon, 22 Aug 2022 04:40:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233370AbiHVIj5 (ORCPT ); Mon, 22 Aug 2022 04:39:57 -0400 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA8632CE25; Mon, 22 Aug 2022 01:39:54 -0700 (PDT) Received: (Authenticated sender: jacopo@jmondi.org) by mail.gandi.net (Postfix) with ESMTPSA id E630040007; Mon, 22 Aug 2022 08:39:51 +0000 (UTC) Date: Mon, 22 Aug 2022 10:39:50 +0200 From: Jacopo Mondi To: Geert Uytterhoeven Cc: wangjianli , Mauro Carvalho Chehab , Linux Media Mailing List , Linux-Renesas , Linux Kernel Mailing List Subject: Re: [PATCH] platform/renesas: fix repeated words in comments Message-ID: <20220822083950.xnuwzz5specjpmxq@uno.localdomain> References: <20220821145435.49842-1-wangjianli@cdjrlc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert On Mon, Aug 22, 2022 at 10:06:03AM +0200, Geert Uytterhoeven wrote: > Hi Wangjianli, > > On Sun, Aug 21, 2022 at 4:58 PM wangjianli wrote: > > Delete the redundant word 'on'. > > > > Signed-off-by: wangjianli > > Thanks for your patch! > > > --- a/drivers/media/platform/renesas/renesas-ceu.c > > +++ b/drivers/media/platform/renesas/renesas-ceu.c > > @@ -1101,7 +1101,7 @@ static int ceu_open(struct file *file) > > return ret; > > > > mutex_lock(&ceudev->mlock); > > - /* Causes soft-reset and sensor power on on first open */ > > + /* Causes soft-reset and sensor power on first open */ > > The double "on" is actually correct. Please ask yourself the question: > "When should the sensor be powered on?". > Answer: "On first open". > So I overlooked this patch so badly, that I didn't get what I meant when I first wrote this comment ? > Personally, I would have written "power-on" instead of "power on" > (cfr. "soft-reset"), so perhaps it's a good idea to make that change, > to prevent the next person looking for double words falling for > this again? > Wangjianli please ignore my acked-by and follow instead Geert's suggestion to change this to power-on, if you want to re-submit the patch. Thanks Geert for being awake, as I'm clearly not yet. > > ret = pm_runtime_resume_and_get(ceudev->dev); > > mutex_unlock(&ceudev->mlock); > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds