Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1037138rwr; Wed, 26 Apr 2023 09:19:59 -0700 (PDT) X-Google-Smtp-Source: AKy350acKTHeDk9a8egtIDe3tZVF8Ub7+Ew2Pg2FnwZ2HpVp4fVplVL0tUr94Zd5spRhBsBCBAb9 X-Received: by 2002:a05:6a21:7884:b0:f0:a5b8:59f9 with SMTP id bf4-20020a056a21788400b000f0a5b859f9mr27907297pzc.15.1682525999357; Wed, 26 Apr 2023 09:19:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682525999; cv=none; d=google.com; s=arc-20160816; b=W2MPGsoXV3fPsousqaxIC4X2ZHaXPHWTQLofCMf38h4yaM58P39Qdisx4vPvNNzGC2 b+FjkBkiYB3LwYXf1a0o6P7fb3473606jUBSqT7+OjVvYTWhlmym5ldBAfmJ3gYCZ5CZ f9zWoB9i24JAd1Gma1wS+VLZiJYnWD6wJa1Oq1ECeG4oaQ7Didx3IEMjIDbUkdCAbRUl sbY8dZ7+k8+QIk+PYhtVaetAe8gIH5tyQxfHc+VHsuKZ/wfk7kTI4n7WkcCzoF903dB5 HQX/6vVfSmD64atUxRsicFnwDe1vRSD/5eKiBEnSFfV5KLMOFNY7g8I7c4AuOVg58hGr 2lWQ== 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; bh=tqcTv+vYdhbaVFSKpmvdraoLLV+d4d/ugbOIciVxvKM=; b=BQDNC4zcqkZxdxDC3rqKERBfZnefLIR7uxvwR2M2bvRg8EswSwfQ32D4ZLMbLg3ruO igfi8+hGyKBtT5vIw8EJ1evXteDOMG1yTJwdkSJ27WX8mySqLp1rESHdq2IqF/xu5vDS 064uCGaqIJIZtrHdX4TzuYQVjx2TjzI4dUEzdW0ShpmZoGV/SgClkEKc+RcJ12oY7aXy uAO6acOROfy5CdQDTQnBEBtkN/96+nE1T7nNUufCoYjv5lb/G21gtj3xscVvRLWKURvw bv9XGqTAdQsl7A8x9Dq/Sfv5fGvwViuikSrtzbPOwaU9VUSh+5bU3subJpM4O69dgWEZ 2FBw== 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 f3-20020a635103000000b00519858f0ac3si16480094pgb.157.2023.04.26.09.19.45; Wed, 26 Apr 2023 09:19:59 -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 S241407AbjDZQRd (ORCPT + 99 others); Wed, 26 Apr 2023 12:17:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241410AbjDZQRb (ORCPT ); Wed, 26 Apr 2023 12:17:31 -0400 Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1AB772BB; Wed, 26 Apr 2023 09:17:30 -0700 (PDT) Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96) (envelope-from ) id 1prhpE-0005lh-2Q; Wed, 26 Apr 2023 18:17:00 +0200 Date: Wed, 26 Apr 2023 17:15:12 +0100 From: Daniel Golle To: Vladimir Oltean Cc: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , Sean Wang , Landen Chao , DENG Qingfang , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , Richard van Schagen , Richard van Schagen , Frank Wunderlich , Bartel Eerdekens , erkin.bozoglu@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next 04/24] net: dsa: mt7530: properly support MT7531AE and MT7531BE Message-ID: References: <20230425082933.84654-1-arinc.unal@arinc9.com> <20230425082933.84654-5-arinc.unal@arinc9.com> <20230426143944.s5vmhloepa3yodrj@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230426143944.s5vmhloepa3yodrj@skbuf> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Wed, Apr 26, 2023 at 05:39:44PM +0300, Vladimir Oltean wrote: > On Wed, Apr 26, 2023 at 02:07:45PM +0100, Daniel Golle wrote: > > On Wed, Apr 26, 2023 at 11:12:09AM +0300, Arınç ÜNAL wrote: > > > On 25.04.2023 18:04, Daniel Golle wrote: > > > > On Tue, Apr 25, 2023 at 11:29:13AM +0300, arinc9.unal@gmail.com wrote: > > > > > From: Arınç ÜNAL > > > > > > > > > > Introduce the p5_sgmii pointer to store the information for whether port 5 > > > > > has got SGMII or not. > > > > > > > > The p5_sgmii your are introducing to struct mt7530_priv is a boolean > > > > variable, and not a pointer. > > > > > > I must've meant to say field. > > > > Being just a single boolean variable also 'field' would not be the right > > word here. We use 'field' as in 'bitfield', ie. usually disguised integer > > types in which each bit has an assigned meaning. > > "field" is a perfectly legal name for a member of a C structure. > https://en.wikipedia.org/wiki/Struct_(C_programming_language) > Not to be confused with bitfield. Right, thank you for pointing that out. Must have slipped off my mind that all this is inside a struct, of course...