Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4048235rwd; Tue, 23 May 2023 02:14:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Tt5nf08wr4ACRz5M42sl1mRUFUNy5IExnapEwut0QA3/Esd+c/MwnNQeNkXugPU4pYnLV X-Received: by 2002:a17:90a:fb98:b0:255:ab1c:e36 with SMTP id cp24-20020a17090afb9800b00255ab1c0e36mr1551709pjb.2.1684833279786; Tue, 23 May 2023 02:14:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684833279; cv=none; d=google.com; s=arc-20160816; b=eV25yeXMZwxPtb9hBhVEUw2tmpD4nvIN8wz+2j/IzrkfT2jD7eUSBgJzZfFY/LMHg4 AD8f7j2oqlaBnzkZypNuhgc2OfP54fk7J2keeGr89bWLBLO5BRwkk++df99+Mep59Ko1 7xcb6TxC2f58N1B+/qvBqlr8tFwLODbqgOuWm/pGYy2H+8xqFKHbFFVALplF4qQphl2W LLz5e0n23G7kBvbYOnoYG+vf20pbSpdttyrcwuRWtzd9mJwdxmvyj/dV8psdX3kQp4TB Cthfs12PtmuEeeHQYz5fLB1KBBXESQYXl74v0UzgAmNdVeQH5uaM1CMHK6nXP7TpPiiC zhJQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=LReklL9sGvjxxVlRf7pEvUFpzUOWOYvINYZ6eX3lVB4=; b=ItP1DvJmW/uTF+ZvwfueVp98KeHpdSeZYlxmg9Wd9mJBoyhUwbJqM3QPYt7pIn3NkA 7ZxFK2pOvODb197oLjoctqCkJ2jFiuRCavzg+zG5Y6h0Y2vk1m9BvAKR4myhi1QF/4Td o9R1eJe91EUqUCijxjc2IjKHXXI+XjyK70iGDrBVDCU/hV7xIKjkCnVRJ58yCzcQDkcY e3k2qvqTl4dQl/cUUXcospCGsLoOZtwpn+CEtT3UHhtgJHs9ZFFoQDQP0lHEaM5TUwre mNdjxgP1rxLqT5CQLuQQwqaKHkcVIgtxFPrF7Oojlk4ddAKhZfZo7OY3l7hWckqWwh7A 5lxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MBcfyAbR; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k1-20020a17090a9d8100b00253555e5f95si411318pjp.153.2023.05.23.02.14.27; Tue, 23 May 2023 02:14:39 -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=@kernel.org header.s=k20201202 header.b=MBcfyAbR; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236323AbjEWJHV (ORCPT + 99 others); Tue, 23 May 2023 05:07:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236339AbjEWJGw (ORCPT ); Tue, 23 May 2023 05:06:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 944CA118; Tue, 23 May 2023 02:06:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1A42462555; Tue, 23 May 2023 09:06:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82939C4339B; Tue, 23 May 2023 09:06:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684832810; bh=5AHcJMuMuyYhhAsyGVbPQl1L5/pgWSOiDxGcQFt0A2I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MBcfyAbRHVYm6FQ+aE1bIUk41h7kZ4HW51VRE0eDzTBbLzDq0pL0VluiST4Ib6PNn R6M1ySA5PNQPtvYdpKGYyGm0Tpzi2f4QEB8TuPKOHH43SsAhHH/70pndSjLz7owvVe 1Tefq0777T0sIghCOgWwSQLwabtKoZgSYYqu7OOYNtTkehWD5ZxAqTomXz1QQpnTcf R6kKq7qVeWWnGaQ7UTxrW7B8ibd27fF4t1eNvdn4ZX01IhI3nU+ew5N46fMqOMnPyR HywRVAqtaSce0BuJE5XnNcak0pQkAZ0t8EkvY57TrnlvKHpDlWvzcmut67uTW+zRIP MEFqkz+LDm74w== Date: Tue, 23 May 2023 10:06:45 +0100 From: Lee Jones To: Andy Shevchenko Cc: Martin Kurbanov , Pavel Machek , Rob Herring , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, kernel@sberdevices.ru Subject: Re: [PATCH v4 2/2] leds: add aw20xx driver Message-ID: <20230523090645.GD2174496@google.com> References: <20230517195238.34069-1-mmkurbanov@sberdevices.ru> <20230517195238.34069-3-mmkurbanov@sberdevices.ru> <20230522071426.GP404509@google.com> <20230522163537.GR404509@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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 On Mon, 22 May 2023, Andy Shevchenko wrote: > On Mon, May 22, 2023 at 7:35 PM Lee Jones wrote: > > On Mon, 22 May 2023, Andy Shevchenko wrote: > > > On Mon, May 22, 2023 at 10:14 AM Lee Jones wrote: > > > > On Thu, 18 May 2023, Andy Shevchenko wrote: > > > > > On Wed, May 17, 2023 at 10:52 PM Martin Kurbanov > > > > > wrote: > > ... > > > > > > I would do > > > > > > > > > > i = 0; > > > > > > > > > > here and drop the assignment in the definition block to be more robust > > > > > > > > "here" where? > > > > > > > You've removed all context. > > > > > > That's not true. The below line exclusively defines the location in > > > the code that I'm talking about. Note, Martin understood that AFAICT > > > and addressed in the new version. > > > > I'd expect the author to have a solid understanding of the code. I > > found this difficult to read as-was and had to go look at the patch to > > understand it. > > I see your point. > > > No biggy. Just something to bear in mind. > > No worries, and thanks for the remark. I'll try my best to satisfy > others and not only the author of the code in the future reviews. Thanks mate. -- Lee Jones [李琼斯]