Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp462673rdb; Tue, 5 Dec 2023 10:02:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IElNUdNlmM0Y6Nc1G3xJIMv2ZpzlXfAzKY5n+jopqRNO4D8vI/pgsnqEthNPbFVr1cNHKyO X-Received: by 2002:a9d:6a8b:0:b0:6d9:65f3:5d96 with SMTP id l11-20020a9d6a8b000000b006d965f35d96mr3927780otq.4.1701799332163; Tue, 05 Dec 2023 10:02:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701799332; cv=none; d=google.com; s=arc-20160816; b=OEAHqSqTxyBn+hrdQ+zc5MwzLICmT/bQcb+HSsgbeqcaU4xc3fRhrugKD0fcVtxysl DFYrjc3dIlg3J7MwHp+ryAghwAfgi2LYBr9p6fOoeqxiHrviROxyLVGnEWyJ7KsLmM8e uBvFEfvRjzL+w28DP2i3o34tIUCATHYPNC6ajNTpphkst0lo2qJr/fvPD01388+D1MZh KiHnQCTJcua5H5Y1iSHXWf3LRT2+nfKErmxpzSK28zWlzX8688kiHrImFWHg5Z5re1iR YqACooZuUCdABGLWm4oQfY9TaVH+VbhvtizEKiAE2UqPDi96iLTLY4Q8a1ZtJt2Ijs9w eRkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=hvbZ1hzkZAW9+ll+Cf0H0hMrUli14aQS6HIa8H1AiEs=; fh=LrGs3qyNidq49LU04PurChkGisAQyGPjrF24DZL229g=; b=yVJjflKyS7JSIuRhHN46qywp8DNSsZisEwlxczVCDO1Rl00Ublz36ehR6p6wONVV+W BP549cfPc8Hg3U51bB1BnpUHd74d0tqfsHaQk1FFS+cfmPbviiWB1pPZAlVwPqo9Vo6t V0BnSFC5gO6oMXZxiSKs1DZ3m5Qq/mPFinY8pmQZnjccbDiBm9J6Ae98AyqdSBfQa7QC ErxKq/ClAjIbVHPkksciKSKljjvXaPEeHb/kdXIILB2PsQ2t5H3myUYdXBE7VflIdi1y HxmvBAAAo/I6ssvQ6VDAi/3TSZleH7DL8R4Dw/84npjswsiwqhGi0syguniLDfflfTyR scQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=XoptdEkI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wanadoo.fr Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id c6-20020a9d7846000000b006d9a90ec28dsi1018827otm.172.2023.12.05.10.02.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 10:02:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=XoptdEkI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wanadoo.fr Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id B88B48033194; Tue, 5 Dec 2023 10:02:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345780AbjLESBx (ORCPT + 99 others); Tue, 5 Dec 2023 13:01:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345718AbjLESBt (ORCPT ); Tue, 5 Dec 2023 13:01:49 -0500 Received: from smtp.smtpout.orange.fr (smtp-15.smtpout.orange.fr [80.12.242.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A6B9D5B for ; Tue, 5 Dec 2023 10:01:53 -0800 (PST) Received: from [192.168.1.18] ([92.140.202.140]) by smtp.orange.fr with ESMTPA id AZjvrRTwOSNyBAZjvr0n3q; Tue, 05 Dec 2023 19:01:51 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1701799311; bh=hvbZ1hzkZAW9+ll+Cf0H0hMrUli14aQS6HIa8H1AiEs=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=XoptdEkIyaphDGvNlkuK50h82d3TT88V3o4uepBihG58+UUJ9+WkFgg+i5GXukzuB m6di0bERiVC9fyjAJbBYKflD1Uaoq9Q+yirlHlHFexeL4ircFJQC6pU7RWM1qE0bIh bH1OZNcd/vrsuS+ieYI9rU0yqSbcePcmLZOUCAaoKh54B/ctCPvySPch5rf9U4IoMQ ICZKlktLrX8zVPrOiGqDiIQSvNrgiQZCMPpwAZj59Rp3W/h4uYIyOFc4zQhyIvR0EC AorPDR1vYKF9CbT1fjB07NijCvh11KyQRUjPpU9k5Zrh9m2BW5vpimmezFYsfizEvY U+SAmVVoRm3AQ== X-ME-Helo: [192.168.1.18] X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Tue, 05 Dec 2023 19:01:51 +0100 X-ME-IP: 92.140.202.140 Message-ID: Date: Tue, 5 Dec 2023 19:01:47 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v2 8/8] net: pse-pd: Add PD692x0 PSE controller driver To: =?UTF-8?Q?K=C3=B6ry_Maincent?= Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Luis Chamberlain , Russ Weight , Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Oleksij Rempel , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, Dent Project References: <20231201-feature_poe-v2-0-56d8cac607fa@bootlin.com> <20231201-feature_poe-v2-8-56d8cac607fa@bootlin.com> <6eeead27-e1b1-48e4-8a3b-857e1c33496b@wanadoo.fr> <20231204231655.19baa1a4@kmaincent-XPS-13-7390> Content-Language: fr, en-US From: Christophe JAILLET In-Reply-To: <20231204231655.19baa1a4@kmaincent-XPS-13-7390> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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, 05 Dec 2023 10:02:09 -0800 (PST) Le 04/12/2023 à 23:16, Köry Maincent a écrit : > Thanks for your review! > > On Sun, 3 Dec 2023 22:11:46 +0100 > Christophe JAILLET wrote: > >>> + >>> + fwl = firmware_upload_register(THIS_MODULE, dev, dev_name(dev), >>> + &pd692x0_fw_ops, priv); >>> + if (IS_ERR(fwl)) { >>> + dev_err(dev, "Failed to register to the Firmware Upload >>> API\n"); >>> + ret = PTR_ERR(fwl); >>> + return ret; >> >> Nit: return dev_err_probe()? > > No EPROBE_DEFER error can be catch from firmware_upload_register() function, so > it's not needed. Hi, up to you to take it or not, but dev_err_probe() also logs the error code in a human readable way and it saves a few lines of code. If I remember correctly, it also saves some bytes in the .o file. Other than that, it is a matter of style. CJ > > Regards,