Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5894517rwl; Tue, 4 Apr 2023 05:21:19 -0700 (PDT) X-Google-Smtp-Source: AKy350ZxNYQZ55uDc1cqB8YD7C0chY3K0GTW4iC01jtcKFiVvn4vnDjJUMWztWNnQaswaROO8nZz X-Received: by 2002:a17:902:b28a:b0:1a2:86c6:7b65 with SMTP id u10-20020a170902b28a00b001a286c67b65mr2272594plr.60.1680610878831; Tue, 04 Apr 2023 05:21:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680610878; cv=none; d=google.com; s=arc-20160816; b=XM+tgBaXp+gdJLRaPyJUB0dT432JEX2FemVFbpJ+mK5KQwGR11WpDVUV63QJyC/YmC tR0TiJ0Qe2I7wXuxraAl5aPwQKwfDGPMGgU9iAa8yNzaoYDszUROenj8TWOVkazdtjdg nmRcHfQH/zkoutqLUtL6B7L/0Ukpx6VrClndgwp7HqcvBRHDHdjYOI0w4VxFcAWbS+sg u1TnhdxBEO7ct1tBl26y8MdzOdeMA688KOckMi/wUWiRiw2YiLihSiREUOOSNvERCJjy HgUJ8uy0BE0plng3TO7uCaaHCk3P5cNphWypy9Yt1K0bu+wHjvAVFw8vRGqp6QMysoOM 80rA== 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:date:subject:cc:to:from :dkim-signature; bh=AqDwgiSEHXYcctc2ir4e/JOQcuBACd3Y+m4voyUVZdI=; b=i3nxkJQGi2W18wOA02Z3+3vspOKWgEkLxUilaFa6Qgy6gE5fPDSDs/FR37LwXp5VVP NhezN68T2WI1YnGBXbimSqbBVGxEFORQxEbGHhpKHM838mnzk9RQvNhz+TQhI1VRblzP 8h/qCBvnSPjIdWp6/XXdaDYRZ0dbZfXPH3RFvRbc+y03/4jFAjC+AI4OOmtc102u3gCl qGASDtFRnXCR07XE9xhiCCJW3pZ1v5DMUu1dia3NAudLaqLsw0O0JfsXLF27CqdbPvW7 g61RJ6br1VgqW2uy94dQH3GJub805t93oaqypLb6OfNhrraFyQDU70oxkMScuhPDvIT8 2zwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PdbEHNY4; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h13-20020a170902f54d00b001a199eaf57csi4065778plf.404.2023.04.04.05.21.06; Tue, 04 Apr 2023 05:21:18 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PdbEHNY4; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234924AbjDDMTz (ORCPT + 99 others); Tue, 4 Apr 2023 08:19:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234709AbjDDMTZ (ORCPT ); Tue, 4 Apr 2023 08:19:25 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AFE43C2A; Tue, 4 Apr 2023 05:14:53 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id ew6so129627489edb.7; Tue, 04 Apr 2023 05:14:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680610492; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=AqDwgiSEHXYcctc2ir4e/JOQcuBACd3Y+m4voyUVZdI=; b=PdbEHNY4MaJL2QK86ou5R9wBF04TH2u2t/C4OGX6xErvzcS4SKsJSKwsFzfZMNgejk sERjEwvJ5PmDrDRikHSjluohq6E9AbtZrcGsThGhufTxtEKmdwrt5f1ngeX3m2dRg9UB R7MM4fyazeWvNxb8wAG392oNBi87WKq8VYAlnRA9K9slTfOZBS6H/DjsiV4/Cbh6JjKr kX8YcXgNmRBQRIZ9tUFeCJ8KAJ25/xtBwtSryf5QFL265QV1sr7jQ5zlQ9Zbru5bx3tu XyDV6RnGiV2RXJrKUJqg6V38T5nTLzN6NotJ9On7MvhHa+uXM+1biWrxOOZZFqSQB7sT 3K8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680610492; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AqDwgiSEHXYcctc2ir4e/JOQcuBACd3Y+m4voyUVZdI=; b=4PGHdRgLClVRNQoOaF8bWFf6E1Cr+3IAI3vcGRONOk/7z6CGIA+xyRcTHHIULW8/Xw IvEtF6mUH7asZEwwJDQjyV6OL7PnYjb/XVZO4RdEVoSLWvrVclMqUxVhSV4iKPRdpcAB x4+cgNpMtU7T0E4bkKtfBw6wFEbrTwm4U1Wi5oEH8/rBnInckW9bo0wYIngCJjv54hTi 6nq3S1M3qiWWjPWfWtI+KfFWc8i8XVzRKCeObJVsZTbn+aDE9bbl/FAuvCuB6KSjTqYn TUx3/Q9IStDjTKQSJI0pDUPeY9gf4P3HfMibB61Vu30XtVvKbxRZwe3FI+GgbxydHEdY cOrg== X-Gm-Message-State: AAQBX9eZvAVojXsBR+IqMFhYfKzXfAVBPBaK8GxvFr/6Va9ga7d4ceXn OSYBQHn2Gsw5W7qvwkLPzI0= X-Received: by 2002:a17:906:b10f:b0:93b:752:d2a9 with SMTP id u15-20020a170906b10f00b0093b0752d2a9mr1905729ejy.31.1680610491802; Tue, 04 Apr 2023 05:14:51 -0700 (PDT) Received: from localhost (p200300e41f1c0800f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f1c:800:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id qo26-20020a170907213a00b00930aa50372csm5843631ejb.43.2023.04.04.05.14.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 05:14:51 -0700 (PDT) From: Thierry Reding To: Cai Huoqing Cc: Daniel Vetter , Thierry Reding , Jonathan Hunter , linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org, David Airlie , linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/tegra: dsi: Make use of the helper function dev_err_probe() Date: Tue, 4 Apr 2023 14:14:42 +0200 Message-Id: <168061024450.2054665.3431873528237731595.b4-ty@nvidia.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20210916105641.12215-1-caihuoqing@baidu.com> References: <20210916105641.12215-1-caihuoqing@baidu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 From: Thierry Reding On Thu, 16 Sep 2021 18:56:40 +0800, Cai Huoqing wrote: > When possible use dev_err_probe help to properly deal with the > PROBE_DEFER error, the benefit is that DEFER issue will be logged > in the devices_deferred debugfs file. > And using dev_err_probe() can reduce code size, the error value > gets printed. > > > [...] Applied, thanks! [1/1] drm/tegra: dsi: Make use of the helper function dev_err_probe() commit: 6fae3bc81e679961cfd198622f2aed2d720ee631 Best regards, -- Thierry Reding