Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp704818rdb; Tue, 19 Sep 2023 07:56:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGDXnkkpHhkKWsUUzHmeeqL+IbBQ4g6poMiCOTVyo3VulkPWaPQjrSTIRYLi2//QTy3U0Ce X-Received: by 2002:a05:6a00:1794:b0:690:1c1b:aefd with SMTP id s20-20020a056a00179400b006901c1baefdmr15217060pfg.5.1695135391764; Tue, 19 Sep 2023 07:56:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695135391; cv=none; d=google.com; s=arc-20160816; b=s5BoyVKVihzzHoQ6P05M2S17KoAAiDMzYF4LbWo+hIwGmAKygl6XUVWOWLr0i9OnUa FSSHGZrh26CovL9abe0en5SiYUdo8mENK7dI3BcFh7fbMlAjXCTvJbgBMZChqpHmdYgF b9VySya6ZcbNiom3ayPOWhexYr2kpJ9oIXNxIrNPKkGXb0MOCuVVr/vSwBubxaiguOVP LbSAp+GHcS5p/A37ZjRd7Oifx/Y/794lDUSq9vJrXgbnodzclfemFSyhacsXcG5d7bfh AcOjsvbPHnmNySdU0bKhYkr7ZY9wsHl0nSrpIruTxBAT7KngkXXGVHEJNr/tXKh82cfi I0Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=PkAmog8kPURPdwC6/7i2WeWfLhkTcmYXq3osNRaDjMc=; fh=nN56zumxQEuIihQuSxigEd4NcyQCSh8by5fQO0EKaaQ=; b=MFL2vHWMxyE9HO48RD4BqJ0qnNa4I/c4rINshhPf2a6NdPbKBG879AZovynFvLqZ1y trv41RxUS4vZS5xKLJrL5DEBPHPYp17cVvuxjksA535UA9ATI5gr5jEqnwAv6Bw9nLqP 0QOIncklwDTps3D7IiPLagX0HnP72QR0z41isM1V2BzPsLiByxZbbNqM+kRLvZ3ENDjn G8jeU+TUlACtfe15uibcH7jlmzXlkdqPbTyOQrBFs2JwEbsi+4zZns5fZh5Flp5hYKQl KFfVD6DTAW+y8iAE8zNW1l+7Ia8ttbP9Bnk9gDy9Mjm8Zb6oQIeeWV7S9TttoX5gqwpk Ki6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZsSB11gm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id 6-20020a630c46000000b00578b5eb76d1si1272572pgm.226.2023.09.19.07.56.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 07:56:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZsSB11gm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id DE945806E3E9; Tue, 19 Sep 2023 02:48:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231539AbjISJs2 (ORCPT + 99 others); Tue, 19 Sep 2023 05:48:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231320AbjISJs1 (ORCPT ); Tue, 19 Sep 2023 05:48:27 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 695CBE8 for ; Tue, 19 Sep 2023 02:47:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1695116854; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PkAmog8kPURPdwC6/7i2WeWfLhkTcmYXq3osNRaDjMc=; b=ZsSB11gmx5I8OFO92EODAuAUKvvaZuTWrQX0V46pgw+2fEa0NfBTbUGQOcpGc8s6iGOn+D zsn2YOG0INZICqGLhSiPLwzT2K4ckmXCRmyvNrXZdtnfmlPiOeRIYVxNZc5VrALb7IcAyG JuFkcPyO21nsocMZhxV2GHL+08txtXI= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-568-iEe3u7oWMguXbpuCztmU8w-1; Tue, 19 Sep 2023 05:47:33 -0400 X-MC-Unique: iEe3u7oWMguXbpuCztmU8w-1 Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-530a085c62dso604858a12.0 for ; Tue, 19 Sep 2023 02:47:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695116852; x=1695721652; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=PkAmog8kPURPdwC6/7i2WeWfLhkTcmYXq3osNRaDjMc=; b=O50IUaHBD2nFTvM5wLXYLvuDa9F9TpTNOohcbMGLTzJwXVYUOqG/HBD2MmEgLFzuU/ 9OPanlLSbUJP1yRRMHB60kyhEdk04JeauHCfZKl3XEYOl8ueBdjr0XX+Gj/qBw110dWY U5nvF8HLHogx+3ajEXd536p8ZIG3rZI/YzzQyVxODcv4PhzIbZw7AtpdqQkK9eSH8Ssx RkAjwcyeHQMaPJh7F5mNSl1l/hdCUGkWl5z+86wgN5x2/dmojnGudb7zqn9NlJ7tlxE/ CnFfzPT6FXeznCNsHPqzeAVc1quum4j3XV8GrFvoTjKPm5ya5zHReobhbBpbX+cgVc9H Y2Rg== X-Gm-Message-State: AOJu0YxlGITLypPTMG/GRvektXNQLPht1RY0G1VSZfti1yx0dtEX4fXL mNRTzXvFCAfWbV6XmBvBmhQETwKHfj23ZzCFBGgcs1GwL2BoPIQfpKWpCZDkTAl0Mnn2Qcvusr1 4G/fDeSIA0OlQc2+seZH/m6pK X-Received: by 2002:a05:6402:1909:b0:52f:bedf:8ef1 with SMTP id e9-20020a056402190900b0052fbedf8ef1mr10972064edz.3.1695116852156; Tue, 19 Sep 2023 02:47:32 -0700 (PDT) X-Received: by 2002:a05:6402:1909:b0:52f:bedf:8ef1 with SMTP id e9-20020a056402190900b0052fbedf8ef1mr10972040edz.3.1695116851880; Tue, 19 Sep 2023 02:47:31 -0700 (PDT) Received: from gerbillo.redhat.com (146-241-241-221.dyn.eolo.it. [146.241.241.221]) by smtp.gmail.com with ESMTPSA id t13-20020aa7d70d000000b0052328d4268asm7013685edq.81.2023.09.19.02.47.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 02:47:31 -0700 (PDT) Message-ID: <3f79b0d4b9409a223f03c0b36b3544ce1389a500.camel@redhat.com> Subject: Re: [PATCH 4/4] net/onsemi: Add NCN26010 driver From: Paolo Abeni To: Jay Monkman , Andrew Lunn Cc: devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Piergiorgio Beruto , Arndt Schuebel , Parthiban.Veerasooran@microchip.com Date: Tue, 19 Sep 2023 11:47:30 +0200 In-Reply-To: References: <6e19020f-10ff-429b-8df3-cad5e5624e01@lunn.ch> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Tue, 19 Sep 2023 02:48:43 -0700 (PDT) On Mon, 2023-09-18 at 21:54 -0500, Jay Monkman wrote: > On Mon, Sep 18, 2023 at 06:00:37PM +0200, Andrew Lunn wrote: > > Is this an OA TC6 device? At a quick look it does appear to > > be. Please make use of the framework Microchip is developing: > >=20 > > https://lore.kernel.org/netdev/20230908142919.14849-4-Parthiban.Veeraso= oran@microchip.com/T/ >=20 > Yes it is. I wasn't aware of Microchip's work. Thanks for pointing it out= . I guess this patch is going to change a lot in future revisions... Please double check the code with checkpatch before the next submission, there are a few things that could be improved. Specifically, avoid c++ style comments, and avoid using multiple label names to jump into the same location - selecting the label name as the target action will make the code more clear. Thanks, Paolo