Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1753712pxb; Fri, 20 Nov 2020 19:15:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1lKit7HQ2HYPkrgT40ffRKIceQrhHohecb6Er5i3rn/dds8o/1RnDLJHx2TDOh870Mq6l X-Received: by 2002:a17:906:6010:: with SMTP id o16mr34986134ejj.55.1605928514260; Fri, 20 Nov 2020 19:15:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605928514; cv=none; d=google.com; s=arc-20160816; b=RGfznxd7oqOIXXhUJbaSSlxjc3nagkwssRdZbzrJ8srfijnddNhBvbMe8oaxEaOZ/i US0O0vpqVwEACcAvUX7MPN8C/uzT0OSxDiR/OtLlV2+YzCt2Ce+9pzuKcP3cLdCafTec VJF6Sgwg9vMIfSson8FN9Lnn+qiktzV8GG7MIoIj7EcRk/1XGlzlgZ4tTFNt39TpPWeS EiY9VL/YBxldoPUyCdv+5styNRhm305TKxAnETSdekiR+IDx9/zhH9pOOeJnih9NooIO WFgq9Q0Cyc9AhIBrpYsAVUxv926B9nceVY/iSP5jCVMFGl0N50I/GADVLVjrfyib2m5e KDUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=OLfRyIhidVArheMtWeVK2n4FGHvvuclEi0Ik++RjLT8=; b=tPhbFZ0ZRxru3c7oNJiL2xf6A6uUIcX6vOu5UmNoDEUxw54YQTYbOAYbK+ZU5fvHxg T0xdu/D0Pj1kkVuMxudKMKI3GLvmCv4q8jlV7slTOvV2RTJzqLY/G5K4Nyv4OVZLf2Ku RAdeezTjrwm/yM4QuPVNY4bPwc9sp8yYrNHpXWKfqQLvBwPratQB4/WanxWt1et/62hC 035JO3xmt+NQxn7WULp77I2Xir0jvopEfnNIZRjUhXz73TzlVzRwQWjxs+r/bFSv+2uh M9yp6+Vq/8AXJWjxMwUoh8GkN4XxpvFVuQsDcXxQc/VLejR5setlQWFIopbQWEsoU02b 5FaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=P1lcFv1K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c4si2877100edd.464.2020.11.20.19.14.51; Fri, 20 Nov 2020 19:15:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=P1lcFv1K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727194AbgKUDNA (ORCPT + 99 others); Fri, 20 Nov 2020 22:13:00 -0500 Received: from mail.kernel.org ([198.145.29.99]:53546 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725890AbgKUDNA (ORCPT ); Fri, 20 Nov 2020 22:13:00 -0500 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C87E9221FE; Sat, 21 Nov 2020 03:12:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605928380; bh=ZISbLObTtcdQpdOYcIgsn9FZhK4G4Pz1hjSqgyDW+R4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=P1lcFv1KgsjZyc8gk7U2iip66sytABKCsaqU/Od5P64fTTF3zqzYXtQ587b1lN0ym qA5LENOWUSuAjwFlIszXfiOwXlvxkj2Q3grqMs+bNddVFMrIY4fbod5RIHdPzc64gK fGmCAEKInf0JjnrRRE+FLX9to73F/zQW2tHuFfFk= Date: Fri, 20 Nov 2020 19:12:58 -0800 From: Jakub Kicinski To: Grygorii Strashko Cc: "David S. Miller" , , Andrew Lunn , Heiner Kallweit , Subject: Re: [PATCH v2] mdio_bus: suppress err message for reset gpio EPROBE_DEFER Message-ID: <20201120191258.5c645fcd@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20201119203446.20857-1-grygorii.strashko@ti.com> References: <20201119203446.20857-1-grygorii.strashko@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 19 Nov 2020 22:34:46 +0200 Grygorii Strashko wrote: > The mdio_bus may have dependencies from GPIO controller and so got > deferred. Now it will print error message every time -EPROBE_DEFER is > returned which from: > __mdiobus_register() > |-devm_gpiod_get_optional() > without actually identifying error code. > > "mdio_bus 4a101000.mdio: mii_bus 4a101000.mdio couldn't get reset GPIO" > > Hence, suppress error message for devm_gpiod_get_optional() returning > -EPROBE_DEFER case by using dev_err_probe(). > > Signed-off-by: Grygorii Strashko Applied (with the line wrapped), thanks!