From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 155F83FB2E for ; Tue, 19 Sep 2023 09:47:36 +0000 (UTC) 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 8E9DEF0 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-114-QXLmsVkpN0-IA36nk-nteg-1; Tue, 19 Sep 2023 05:47:33 -0400 X-MC-Unique: QXLmsVkpN0-IA36nk-nteg-1 Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-525691cfd75so960831a12.1 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=aMrbxQNq+C3I36UFZPe795KCsQa82nukxV4yPAf7aAxJ+/p1l5MhNrBWhKWI48t1Bq Jzn9e6b6YPcUpgm+jISax4L+CCmkdL1nAqzp5pNBWjw3WImqwSy/yEtbnHhnadmzE52Z VIb8HW9ZzSw2nFELu0X2KWcv8vd5bfU9PY9GAMfju9VGsT0pcZJJ7NS9g+j5I87b8rVe fnj+yFukGrxwpnoXFV14+yKoP52g/adGDJLKz/9sjIDKKAuiIGWWdoeBn9j2qvbKo6ja 2fN+M8GFe3hP6rcFBatcW3UcQvOxoQhg2S+LPfnegLvFRIoOE9iosD7hqXCRsk6x4zJC 5U4A== X-Gm-Message-State: AOJu0Yy6Gt57L+q29UmSmFY9V2puE+0cSdoZlBuTwZxDNx7GT5iQr1TP lFUM+/3niy81pRMkArEVZCi+b4ytCjsxN/iIkq6q61bQKfVt8HBSsYWVhAxb7rLjMVwH7NvxPeh WuiIA8UENZRO0AnKYPq7Cj7Bft89kvA== X-Received: by 2002:a05:6402:1909:b0:52f:bedf:8ef1 with SMTP id e9-20020a056402190900b0052fbedf8ef1mr10972063edz.3.1695116852156; Tue, 19 Sep 2023 02:47:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEdyvAkbPqoRHbFUkr3X4vyY71M+jXmRtg9LjpdFeCk47m2ui+Zr9bOc1plBfUmhqktSYoOhA== 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) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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