Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp426709rwr; Wed, 26 Apr 2023 01:00:28 -0700 (PDT) X-Google-Smtp-Source: AKy350a7xjhP3IIP+S/8kvgCqcdVlZTnmomr7aJuf4aO3W4hq0EzU36JK8K1CAQBUBs0rxgR9xO9 X-Received: by 2002:a05:6a00:1a14:b0:63d:2d7d:b6f2 with SMTP id g20-20020a056a001a1400b0063d2d7db6f2mr26663964pfv.4.1682496028152; Wed, 26 Apr 2023 01:00:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682496028; cv=none; d=google.com; s=arc-20160816; b=fizdjZTRg/a+Pa0H6BXsLDQC1e/y3A/34aYGrlwbaSOHMyqWO3Gf/NZOWs9NDn3iuv 6aI7SWgiggJIkU32EeutvCB3aXjTAw/j4x8SSpgF9GDHsQo1E9AHhvaN63TjlghUPbGF yLFmGKzqX5OEilyJunh+6yfMc9bj5rXbNNwd9spwHcrXRyvtTCz2YA3PKqcJ7+TXtWGP rrXHIrvE/6nXXx/v8WYJ6DPt5oZMbXsN95MT4mvtKv492p2Hs9xvamjtD/gnNiGFSHqA +VqEdJvcTVe1HEv9xY+k0t9O2k9rDOEvCCYlFt4/AwQwAjTk3j0BOBYpKVGsQ0Q7BEDS 5sdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ZzO8/91tGaQC1AMwjfSYdhYHMsaQ5D7tkJV/EXbL1MQ=; b=F3Ng8c9Ewf7KktchinL74sxyu0m/ffxdLtiKNICBeBz1jHkgwuajJtqtmUXnSiIpGF ogtua8uoPhBHpqQWHGQIEV75X+026LkdnKwe0y/ZO2QkbnbGvaaEjwIz7MPjQoqPqxAr m/8I4vVGCXjBesOf4JY9JEF+q4mB3pTwY3iVxqHHHwNXikpN4GfM7i9nt+N5M80pTD2Y AVaUCbWj+f3ExIwb0i0xO5KMNREPjmAT+n49UBhKpF35FMbD4nPTUFDRmngkQnaJEUHQ nVqRSedhxEiHINJAaIpZ0Boon4b34ELdFfcWvmcmgunk4cYJl+NCjhu4w8V3C7oupJsa lITQ== 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 p10-20020aa79e8a000000b0063b7ab0b1aasi15984676pfq.242.2023.04.26.01.00.12; Wed, 26 Apr 2023 01:00:28 -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 S240122AbjDZHq1 (ORCPT + 99 others); Wed, 26 Apr 2023 03:46:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240098AbjDZHp4 (ORCPT ); Wed, 26 Apr 2023 03:45:56 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53D78468C for ; Wed, 26 Apr 2023 00:45:09 -0700 (PDT) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1prZpl-0001uX-Ky; Wed, 26 Apr 2023 09:45:01 +0200 Received: from pza by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1prZpd-0001gO-Ow; Wed, 26 Apr 2023 09:44:53 +0200 Date: Wed, 26 Apr 2023 09:44:53 +0200 From: Philipp Zabel To: Daniel Golle Cc: netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Sean Wang , Landen Chao , DENG Qingfang , Russell King , =?utf-8?B?QXLEsW7DpyDDnG5hbA==?= , Sam Shih , Lorenzo Bianconi , John Crispin , Felix Fietkau Subject: Re: [PATCH net-next v2 13/14] net: dsa: mt7530: introduce driver for MT7988 built-in switch Message-ID: <20230426074453.GD4724@pengutronix.de> References: <20230425155137.GA19130@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: pza@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Daniel, On Tue, Apr 25, 2023 at 05:11:36PM +0100, Daniel Golle wrote: > On Tue, Apr 25, 2023 at 05:51:37PM +0200, Philipp Zabel wrote: [...] > > Please use devm_reset_control_get_exclusive() directly. > > > > > + if (IS_ERR(priv->rstc)) { > > > + dev_err(&pdev->dev, "Couldn't get our reset line\n"); > > > + return PTR_ERR(priv->rstc); > > > > Not sure if this can actually happen, but there is no need to warn on > > -EPROBE_DEFER. You could use return dev_err_probe(...) here. > > Thank you for your comments. The series has already been picked to > net-next. Unless you want to send the suggested changes yourself, I will > prepare another series with your suggestions, and also apply them to > mt7530-mdio.c. That would be great, thank you. regards Philipp