Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3068233rdb; Wed, 13 Sep 2023 00:28:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFu/g/xWMQ2FcYPdruJEby1cTC/62xc7bj0EqhN4LC6UmZY43PWEB8xaxYv3EBkdC9E3+1v X-Received: by 2002:a05:6a00:b85:b0:68f:bb16:d16a with SMTP id g5-20020a056a000b8500b0068fbb16d16amr2588724pfj.5.1694590106543; Wed, 13 Sep 2023 00:28:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694590106; cv=none; d=google.com; s=arc-20160816; b=f2QUkrowSx7ntUAre2fZH4aWEN0FkVhIWiZErgG6bRci3ujTWfGGWTVNFejfuav6jo OXoYjtaxiD/H/KTQWu/K3Qozq0TLv9t2ngbvU7rwVZiXWO+SrV8I9zvmWBYIMdqYSnHt blUTPT84VocEH304P/SysAYhQvw7ARIWCIMC8FnWsDEntZjz93fu90TP3LtwxlEwjX6D Zf5eSEjyI/5qI1uxhAbromuze7wueu/Ti0GQ67vUfxv8YE2Jwq1f0/8MHf1xnvJz/9Lf XKLecsPfV5cnQjybK+dGrBHnNf9A8G6x/1BKiiDKGp0B5byh5le0w8RWfzDD+OPmRo2Y NkSg== 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=oHGhnV3TjdN0FnFldEVPz9KrEFKfvPykYPDqTHVGIBs=; fh=OG6cgNtWDffAdkcL8rdlOtqGDv+ZzX39TaGxhA0MGrc=; b=qMHN24kBx75tV8kX2ADH9NTnX1h2DXtUYrXXFbRl405SlOb8ca00kTcqEK9YZfvvee 4otGAA85eJfo5glbOxgKCihDlKzlS8hyRjEsyieDxusxTX1XXz9JHFloy5YrftNCePZo HLd8G+c9EZkrjj8oyyGa8YLm5Atd1cOGSbPJSi+usKvVlHBmueaJ2ZZrZK/9m7ZW2lEQ jkWQbUEdcaRjHJ90JFCZ95ylGRLzAIhV9/jeoGrnQKI5hy43p92U2mFqeshQc3Vt8lFt Hz/TvpgYRscgepgDgXc5k1sodpvFWlz0Qb7qIdt3pLjia4MmnJ4La6cij1IN4yO+ae61 /WiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="Trr1Il/4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id m129-20020a633f87000000b00565bef99dbdsi5007667pga.141.2023.09.13.00.28.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 00:28:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="Trr1Il/4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 5C57F804090A; Tue, 12 Sep 2023 15:32:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237689AbjILWcW (ORCPT + 99 others); Tue, 12 Sep 2023 18:32:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234813AbjILWcV (ORCPT ); Tue, 12 Sep 2023 18:32:21 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18B5D10C8; Tue, 12 Sep 2023 15:32:17 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-991c786369cso818214866b.1; Tue, 12 Sep 2023 15:32:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694557935; x=1695162735; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=oHGhnV3TjdN0FnFldEVPz9KrEFKfvPykYPDqTHVGIBs=; b=Trr1Il/48N2AqFH7HSNkZXISlg/q0dXCkK8hscNnv2XEnDQYx9w3kFAdKWPFr642jr BTl78G87AdIDFdH7LesPfoN9YviNjzOJYO4Iz9NPG3j8G23GW1dQazQesJqeGnsymbr6 mHbt0V64m2Pw58gRvB0OG7r91ZuSW/2aixJqXst9TiMAAW1skJsSekSCVSUvh2/qe9Oo Ji+L43q+kYrueX2rHCR1XANaK+sSpZmzpORhO40MCBym7IDM4MhPDHaBOBbVWWLFRiBL oSrOMI99dpIe/RcPEYxz24F38rUuNFkmciUjITx7WAfE29tIHGWDqjQAiWvt8Au8ixmz DIxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694557935; x=1695162735; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oHGhnV3TjdN0FnFldEVPz9KrEFKfvPykYPDqTHVGIBs=; b=lL6TKoBXmX6YBRgw8fovimVZPs9E7KnzgtnzlP0kwxNB/RmExxo6512v5CJ79pFMPj 91I7Xeb+QVunkKJ0r0ElJqr+JFWoICt5qaLy/PqnSgQ9uZqyOVjtu1UyORdkFv5gQq8l j/KGfZ9fA8s/z8/mp/XNqLunz7SjSt1W2eUZpDWmGdvAx8azUY91uVaVtFtrLZ8s8gsS gOZ7G+y2tkKEisz4QLl0Hw1q1jn5Vz6+bo8xZ87gZy6bGtIMAiZgjn3oUEIpJ6ubnzkn b+Bur8Lhd4vRSphTumagnOLUFOAm5mQWVprgjVFH0UNJbgdAE+rN3k1d9DWTC6XILlrw dOZw== X-Gm-Message-State: AOJu0YyGY1/F5SyIhZR/FPNQsV6GIK9pS75/LFWZI1NXCUPlvvO0OROv 9TA1qhEQ7znXDbzp0bpKQ4Q= X-Received: by 2002:a17:907:763c:b0:9a9:e5bb:eddc with SMTP id jy28-20020a170907763c00b009a9e5bbeddcmr472712ejc.16.1694557935294; Tue, 12 Sep 2023 15:32:15 -0700 (PDT) Received: from skbuf ([188.25.254.186]) by smtp.gmail.com with ESMTPSA id n12-20020a17090695cc00b00993928e4d1bsm7405814ejy.24.2023.09.12.15.32.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 15:32:15 -0700 (PDT) Date: Wed, 13 Sep 2023 01:32:12 +0300 From: Vladimir Oltean To: Christophe JAILLET Cc: Oleksij Rempel , "David S. Miller" , Andrew Lunn , Eric Dumazet , Florian Fainelli , Jakub Kicinski , Paolo Abeni , Woojung Huh , Arun Ramadoss , Conor Dooley , Krzysztof Kozlowski , Rob Herring , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, UNGLinuxDriver@microchip.com, "Russell King (Oracle)" , devicetree@vger.kernel.org Subject: Re: [PATCH net-next v4 2/2] net: dsa: microchip: Add drive strength configuration Message-ID: <20230912223212.5allvc62okewwcym@skbuf> References: <20230912045459.1864085-1-o.rempel@pengutronix.de> <20230912045459.1864085-1-o.rempel@pengutronix.de> <20230912045459.1864085-3-o.rempel@pengutronix.de> <20230912045459.1864085-3-o.rempel@pengutronix.de> <20230912113553.fselyj2v5ynddme2@skbuf> <35c1c9ee-357f-4ba5-dd47-95d4c064e69b@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <35c1c9ee-357f-4ba5-dd47-95d4c064e69b@wanadoo.fr> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 12 Sep 2023 15:32:24 -0700 (PDT) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email On Tue, Sep 12, 2023 at 08:38:05PM +0200, Christophe JAILLET wrote: > Le 12/09/2023 ? 13:35, Vladimir Oltean a ?crit?: > > > + if (!found) > > > + return 0; > > > > Maybe "have_any_prop" would be a better name to avoid Christophe's confusion? > > Not sure it worth it. > > Christophe should learn to read code or avoid some quick feed-back before > morning coffee :) > > 'found' looks good enough. Maybe I should have said "Christophe's (expressed) and my (unexpressed) confusion"? Actually I had no time to be confused because I saw your comment first, but I would have likely made the same suggestion regardless.