Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3450EC54EE9 for ; Sun, 25 Sep 2022 17:52:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=16Y2js7dAtAywZqFUaVpwaYZpY51+2w5xGCQhpowabA=; b=Hf04PuoWN7bR3S OfKLJjt+Na2IB1LxpgEnlDsJw/h9/FCuqFVD5zW+B0a7fXCyVVDNuKZ1VIkUgD9EOWJ/X/RbBf/f2 HL1HGIZel8i11A/ugl7uzMNfnoDCaijw+tYyYBsU9A3mqGKSPt12GMy5roMkh+SYkl9638WoKMCw9 fX9RA+bmBuotw2j9/9FtNXi1S9xG2DV52abLaE/yhsbMoq3xcWGE9Ym1ftewDkQ4Wo4VrmvNastcA BAppPqmm+0LROHagQV5HtE+DCJfTANeE8W8/+M1hdczViFdsfkMNiok4oNWbP2ci0r51zr9WmKPE8 +EnXiY3IYiio/8AarCRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocVmp-00FRTF-Jk; Sun, 25 Sep 2022 17:51:27 +0000 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocVml-00FRR8-M9; Sun, 25 Sep 2022 17:51:25 +0000 Received: by mail-qt1-x834.google.com with SMTP id w2so2928105qtv.9; Sun, 25 Sep 2022 10:51:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date; bh=PP823E7R3khO4XMOANPTdMerg5Xy11Z+/Vi4Xc9tBNM=; b=ghS2645dHozaSgILFyIvCnLaJ4ZW2N91RnUCC+9EihEGsPMg4uAjsrWGqyDqgh46pP t+6P53YdSdRfTczNkQS2/t8I7IWU4Yp69m9Lr+F/L5yuo4pl3XbsOubLrcjbtbdQgSOa II1/FcGcd+fU23gSfj3Q9pqKfUrJuYKj70SDtF7PgdNHMANqvolWjNgDoAqr6OUgsT3f TM6nZRBqIkpcPyFNyhT8UoN7SxNIW+lrhJbPCV64a7wAfCYqT7m1yuoW5yUsmqq+X4yY QSIc0wv/Kksed8nwzxdUaudO/XvPhbeRrard+k0yFOZRjwS7ytaUJQHGYgHuU8Hb/+aM s4+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date; bh=PP823E7R3khO4XMOANPTdMerg5Xy11Z+/Vi4Xc9tBNM=; b=4/c7LErVBdxHStMQauoRpBgigUy/tbqWnShMIc/U8UXCMnWQb0BtoJ1lUL6dGthDtl +A9OFuIvOSGcP2zoVhnFRRk75j1bR0gBch4Wtz5Ht82rIITLOdI8NlgboMs0AAFXuGhN JYeU74NGKF3CXiqlqLOEORn906sOhPrHiykz0pz/Tx0wTcbHSYyEv+23T15hVwcBWqoM KgnIXtSQxczYQH2bKMimRsNnrQgf5DOZ8p7nyKLJARzGhq3uWS1scSL9WqlOkKhMEpwF x5EGjenS+H3X2imNVrp4IxszQcCo9gl2p+Ds/uxNcEhOoeJc5P6B4vWBCDPuhborIqY/ Bk2g== X-Gm-Message-State: ACrzQf2up+YApOG8KXMIH00xGICfORz6efxMQ+gSJ9KpA45KnFq2p5YA R9p/q2q2CK8uH3uylV9M3d8y+zMLgO4= X-Google-Smtp-Source: AMsMyM6o8jI0I5eleXcby/UY6I2Cxtf2qcKuUIzumA/Y9Gn1Sna9v16GiH3P9o5qmx2fGIly6l32rw== X-Received: by 2002:ac8:7dd3:0:b0:35c:c054:de8e with SMTP id c19-20020ac87dd3000000b0035cc054de8emr14884088qte.194.1664128281550; Sun, 25 Sep 2022 10:51:21 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id x22-20020a05620a259600b006bac157ec19sm9908153qko.123.2022.09.25.10.51.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Sep 2022 10:51:20 -0700 (PDT) From: Florian Fainelli To: bcm-kernel-feedback-list@broadcom.com, Yuan Can , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] firmware: raspberrypi: Use dev_err_probe() to simplify code Date: Sun, 25 Sep 2022 10:51:18 -0700 Message-Id: <20220925175118.3508810-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220924025041.29389-1-yuancan@huawei.com> References: <20220924025041.29389-1-yuancan@huawei.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220925_105123_761334_75297E5A X-CRM114-Status: UNSURE ( 8.94 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, 24 Sep 2022 02:50:41 +0000, Yuan Can wrote: > In the probe path, dev_err() can be replaced with dev_err_probe() > which will check if error code is -EPROBE_DEFER and prints the > error name. It also sets the defer probe reason which can be > checked later through debugfs. > > Signed-off-by: Yuan Can > --- Applied to https://github.com/Broadcom/stblinux/commits/drivers/next, thanks! -- Florian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel