Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp109976lqs; Thu, 13 Jun 2024 05:33:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX3GpILyE/lsNE3qkvVOgZIyf1WngJsvCKYo7G0rmsOmMb0F+FXYsxEM191GLdop8aoKFouEwsEEkwg+gLoW/AP+JrWw+PjY0nI0U8BvA== X-Google-Smtp-Source: AGHT+IETj8mxNicgXgqZBOU7r+9SK9P/STkM5YWXSR0nCDcH02oI18H0LhNmYux34S5qSR37o0a6 X-Received: by 2002:a05:6214:4011:b0:6b2:ae35:2fe with SMTP id 6a1803df08f44-6b2ae3504e4mr129476d6.0.1718281992337; Thu, 13 Jun 2024 05:33:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718281992; cv=pass; d=google.com; s=arc-20160816; b=W84QDRdeCNKe0IazGQW8Vr+C9iY2nBYZHCISEPCy4fVMvb1F3neM6P2ZEmB4d8+j05 qv1hERBT/XQTRzCNt+8Y0F0iWeCK+c/5fGnW82UdhLBEM6xSdWhAhxeDt5jAFF/LLUTC lBJhOzzkFiSE6iCI/LlZK3+SStaKn/gMAMcrgsSu0NPvyQqSKzsQP9Qg7BT9L4r/MY/J dJtxvZAM8weTCP9U0MtxYzGv94sayaEWibxry1n04/Cqouv/tmHPMimzGqJTiVRaSYVM yTZOzMvNCAwWIvj6ajtK37uXhkkUteQnb6kY694RhNF68MecEQrKyG4wI0NPAORqnxe4 tkcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:message-id:references:in-reply-to:organization:subject :cc:to:from:date:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence; bh=lVrk2KYXTHX62kN5FgwexdktyGQtsbVmx5ofJHQFUqE=; fh=tZs145GEaRpRPd94tXd2oOgS8dsYTYmNF2MdEJfhwBc=; b=NjNgAH//wUfRCcmLq/pCgsEGYiEdajrjnD50QglcwHLNhCT5unTUvxIIb0WSoxxad1 UOz5EUW5PSkqV+mJZbfxs8Ml1Most5Bi1KsJSJAYU1N9baHIhHc2Qbmr7y59YMWgrDVO 3reobJXOprqPSAHxN12UTWlbPRJk/W6xvB8LkYKTWUWz+fKw36taFL6JhPqKmt1t1cQh 4j+INvIBmZaJ9gQAZhg6kaqqGHfW5/tLcJ2f/4o6O6SGCf7isdmefKWqXOlxX1ZuW7hN UO50/ncUGVVc7iyHyRi+nneYaAu6/5QT945pzlPW8lAp0tF3hh2PtMksEUpYyJWt6Oj7 Z+cw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=dev.tdt.de); spf=pass (google.com: domain of linux-kernel+bounces-213207-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213207-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6b2a5afd202si13840056d6.306.2024.06.13.05.33.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 05:33:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213207-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=dev.tdt.de); spf=pass (google.com: domain of linux-kernel+bounces-213207-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213207-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 120AB1C23DC5 for ; Thu, 13 Jun 2024 12:33:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E85CE14199C; Thu, 13 Jun 2024 12:32:47 +0000 (UTC) Received: from mxout70.expurgate.net (mxout70.expurgate.net [194.37.255.70]) (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 076A31E49B; Thu, 13 Jun 2024 12:32:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.37.255.70 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718281967; cv=none; b=XMn0CD+AnsMnQ2YtYJ09neAq/PWd/Av1i4MYk1rjytW0S7z2vT5FHAf7tRM9zOmHQn0672+XqcuEWktB7dqyrA0qzkbCutANubUPHunM0hTtmOMhivER1Qs5okYZRgT38Ll5tWelwtkoMlAziJ0zPhc6GhGGj233opdYtyUpqeY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718281967; c=relaxed/simple; bh=8z8mryihkPsMHrmTcB0xChWOv0muhpjdmBAMz3ALaUg=; h=MIME-Version:Content-Type:Date:From:To:Cc:Subject:In-Reply-To: References:Message-ID; b=KBUoHG3A7FjQ7evkpLXVtHuqYcRFPlyskTpxzuhtCtdi0xEEhrh4VEhXngdb2/3iKPsJwRzVleGgKfve53gWFpIyYn9BKFWlAu4VeUAuzeQEhl4lM/7785iXVl1ZB1MGJRCjRibat8+ymOJVflF8Q9+pXutezSrHPTuh58rT2h4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dev.tdt.de; spf=pass smtp.mailfrom=dev.tdt.de; arc=none smtp.client-ip=194.37.255.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dev.tdt.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dev.tdt.de Received: from [127.0.0.1] (helo=localhost) by relay.expurgate.net with smtp (Exim 4.92) (envelope-from ) id 1sHjdD-000Vos-Tw; Thu, 13 Jun 2024 14:32:43 +0200 Received: from [195.243.126.94] (helo=securemail.tdt.de) by relay.expurgate.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sHjdD-00FNJt-Bx; Thu, 13 Jun 2024 14:32:43 +0200 Received: from securemail.tdt.de (localhost [127.0.0.1]) by securemail.tdt.de (Postfix) with ESMTP id 1A0F2240053; Thu, 13 Jun 2024 14:32:43 +0200 (CEST) Received: from mail.dev.tdt.de (unknown [10.2.4.42]) by securemail.tdt.de (Postfix) with ESMTP id 9F606240050; Thu, 13 Jun 2024 14:32:42 +0200 (CEST) Received: from mail.dev.tdt.de (localhost [IPv6:::1]) by mail.dev.tdt.de (Postfix) with ESMTP id 062B73852A; Thu, 13 Jun 2024 14:32:42 +0200 (CEST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 13 Jun 2024 14:32:42 +0200 From: Martin Schiller To: Vladimir Oltean Cc: martin.blumenstingl@googlemail.com, hauke@hauke-m.de, andrew@lunn.ch, f.fainelli@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v5 04/12] net: dsa: lantiq_gswip: Use dev_err_probe where appropriate Organization: TDT AG In-Reply-To: <20240613115137.ignzu35jxmmorxys@skbuf> References: <20240611135434.3180973-1-ms@dev.tdt.de> <20240611135434.3180973-1-ms@dev.tdt.de> <20240611135434.3180973-5-ms@dev.tdt.de> <20240611135434.3180973-5-ms@dev.tdt.de> <20240613115137.ignzu35jxmmorxys@skbuf> Message-ID: <8592951129cec26ef55b43a99c5aa913@dev.tdt.de> X-Sender: ms@dev.tdt.de User-Agent: Roundcube Webmail/1.3.17 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151534::1718281963-36936522-5FB1A390/0/0 On 2024-06-13 13:51, Vladimir Oltean wrote: > On Tue, Jun 11, 2024 at 03:54:26PM +0200, Martin Schiller wrote: >> From: Martin Blumenstingl >> >> dev_err_probe() can be used to simplify the existing code. Also it >> means >> we get rid of the following warning which is seen whenever the PMAC >> (Ethernet controller which connects to GSWIP's CPU port) has not been >> probed yet: >> gswip 1e108000.switch: dsa switch register failed: -517 >> >> Signed-off-by: Martin Blumenstingl >> >> Acked-by: Hauke Mehrtens >> --- > > Needs your sign off. > > Reviewed-by: Vladimir Oltean Signed-off-by: Martin Schiller