Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3477027rdb; Wed, 13 Sep 2023 13:16:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE1FH0brmkz3nc5EE839PJ1iFRz5libNx88abNVax+pJ6xil2scWvmxME6DxZc+m9tf8rkV X-Received: by 2002:a17:903:245:b0:1bf:cac:13b4 with SMTP id j5-20020a170903024500b001bf0cac13b4mr4167050plh.5.1694636205537; Wed, 13 Sep 2023 13:16:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694636205; cv=none; d=google.com; s=arc-20160816; b=y6mIYFsnnKDGK/Wmb0MgkN3dDdc0OGYUNC3bZXi8Nlo5AKESqYOJytwv2aA7EfJHKx vBCvwYNNaakBQvb1gkIK10b24pP3OSVs3CxfHx5S4gswKf/EKOgxV4FyxCRrd1aRLL7h mjNL5I7noMxzoD2LxZFcA2F2F17h3NIErQkw3osmV4bCOn3UTv7NzdRiCFdFZKV8jiam K33tfNDeEXiJv7Kx7v5Hai50C6kK69XC6Lla0i9bXSfkCuLU+qxRhr0bkjL0a0/lQJB1 gSNJu6LNRJloQwFh0JnkOetGX6nQWYf+tl5WuBx5c0qGUqOlwINtoY4V+P9r3yzlOdah 99TQ== 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:dkim-signature; bh=+YFoAOG8GFMEn6GoFZD7onXG3aT2RSiOvfB1zEXG+i0=; fh=HP0u6UTDta/+GqBM4mahf5Lc0EVr0KtIYijFiIYMcHg=; b=tXcMbusgX44HS+JAw+72gbyjtKEz/+d7+fDRiPHVz5TVTThAvJygV65jg77gmDL06i 6GiW26tKVyakBIrHyl6q9d4VqFUQeBaXv7njAXCOSHz36DxBKOj3NsyMF2iPnpKJyeTN HaSUvUpUsI+vfpDw1xyZYnsfYVWKzwaLkVKmkm4XcIFsV/4pvwIJ0wiFV+5cK3j+/xaQ QZcU082WXmyATqYjgGCO3AvS2wBGaBtXd7G3LD+/tlRxiFcnVQqhqfyIe1y2nFFTDBkl PyUP4Jkv1s7/Lnxx4MDdwd1pfkfJ9jOB7RCOxDq0R7OoCwgoS3a3iKBz8Ku1GdF1Oxdj 2/QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=fCKR71FJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id i12-20020a17090332cc00b001c09b7cf835si50838plr.412.2023.09.13.13.16.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 13:16:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=fCKR71FJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9C5D880425BA; Tue, 12 Sep 2023 19:17:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237494AbjIMCRI (ORCPT + 99 others); Tue, 12 Sep 2023 22:17:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230311AbjIMCRH (ORCPT ); Tue, 12 Sep 2023 22:17:07 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F584170A; Tue, 12 Sep 2023 19:17:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=+YFoAOG8GFMEn6GoFZD7onXG3aT2RSiOvfB1zEXG+i0=; b=fCKR71FJGDOOOwicFE6wHPjzqQ nnfLUmVeWl1FPSUSQjLL8UQg/hIMNOMFoc7bKb5IdjeQBtltBacujlGbyCkRx1ULj96/xjnDd+5OR WQkiK7FCvkKQqm89kU3muC7gPfqURpzwY+9kXrKgrFE1+ftkIpixXvJTPhBFU9BdhQ2c=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qgFR0-006GyV-0O; Wed, 13 Sep 2023 04:16:54 +0200 Date: Wed, 13 Sep 2023 04:16:53 +0200 From: Andrew Lunn To: Parthiban Veerasooran Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, corbet@lwn.net, steen.hegelund@microchip.com, rdunlap@infradead.org, horms@kernel.org, casper.casan@gmail.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, horatiu.vultur@microchip.com, Woojung.Huh@microchip.com, Nicolas.Ferre@microchip.com, UNGLinuxDriver@microchip.com, Thorsten.Kummermehr@microchip.com Subject: Re: [RFC PATCH net-next 1/6] net: ethernet: implement OPEN Alliance control transaction interface Message-ID: <8d53ca8d-bcf6-4673-a8ff-b621d700576e@lunn.ch> References: <20230908142919.14849-1-Parthiban.Veerasooran@microchip.com> <20230908142919.14849-2-Parthiban.Veerasooran@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230908142919.14849-2-Parthiban.Veerasooran@microchip.com> 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 (snail.vger.email [0.0.0.0]); Tue, 12 Sep 2023 19:17:06 -0700 (PDT) > +struct oa_tc6 { > + struct spi_device *spi; > + bool ctrl_prot; > +}; Should this be considered an opaque structure which the MAC driver should not access the members? I don't see anything setting ctrl_prot here. Does it need a setter and a getter? Andrew