Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp902462rwb; Thu, 8 Dec 2022 04:33:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf6e2MqJDPiXp6LUu2GBso+I0MX3IYHiHRFUQaAA4cr0w/tCOorrYBO9Y9HdxGX7p25/I5kn X-Received: by 2002:a17:902:e94e:b0:186:5613:becf with SMTP id b14-20020a170902e94e00b001865613becfmr67055443pll.46.1670502821535; Thu, 08 Dec 2022 04:33:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670502821; cv=none; d=google.com; s=arc-20160816; b=OuVazOvKOp57WvTVWNE8ahswHtdc/gpw0ZfNEUW+XepA6EW4QxwybkEGz9IYbGPqRI P8J5LUtW0Qm42Oa4exFSNqhqS1mdnw+8VpSD6yZW97MsLLhfRxowkMkR6rMKCpoE7BE6 jGHMe0avmG5N03xM6RJNt8qJv44fnZ6tt+vsqSlj0vu7ypmZa+B6ERdToM08fkJxu0z7 Ov4y9Jm/sJGiScKQNHwK0psCuEsQQeS9xnNYhIK14+zqEaLMzTpgG7/UbXc9MPnZIjYm W//jKtC4kiu/WqIaE9SjPTN/win49tnJjxH0ttBECt33Lng2T6H/Ce8Z4MQMOXIG73QZ 7ucQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :dkim-signature:dkim-signature; bh=9S7c6VjexsFghoYK7FcmLDwH+TnbUGR78+H67wM0/W4=; b=h1EmUpiQgpZendbtyUMqN4xIP3NmVaKhgINZH13UAJwIjLERSaKe7PgkuneH+j1kJe dVRIDqWX2DOaV6d0vD1PbYlItyX01SdpfOrvc6fR9PoC39RRrPaYikov1Xol9lOXx3/s l2z5MERf08dUf7xyrB0Pvv3w1Yk09k3b47WXSEMks3Wak9Na5HhVnqVFpLD4jv4CgqHz U3q90tN341+f/tFJ/Tw2uIAiFdWF468enlB8CTQmMeGsMXYm9buVlBKcaUabbUAh3hGF DY+GqtDHY9BwuTFfMCfa/wAKy0FJN76gAWGjU2ynV5gBwvVHESmJAbEI3JjOXqWpRJ4f 71bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=E44BGaSt; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Py+HcF8m; 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=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t26-20020a63955a000000b004789dd14e07si15106574pgn.268.2022.12.08.04.33.32; Thu, 08 Dec 2022 04:33:41 -0800 (PST) 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=@cerno.tech header.s=fm3 header.b=E44BGaSt; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Py+HcF8m; 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=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229835AbiLHMLn (ORCPT + 72 others); Thu, 8 Dec 2022 07:11:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229513AbiLHMLl (ORCPT ); Thu, 8 Dec 2022 07:11:41 -0500 Received: from wnew1-smtp.messagingengine.com (wnew1-smtp.messagingengine.com [64.147.123.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA2865444D for ; Thu, 8 Dec 2022 04:11:39 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.west.internal (Postfix) with ESMTP id 08EAE2B059E0; Thu, 8 Dec 2022 07:11:35 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 08 Dec 2022 07:11:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1670501495; x=1670508695; bh=9S7c6Vjexs FghoYK7FcmLDwH+TnbUGR78+H67wM0/W4=; b=E44BGaStnPmIUtVHekwMSk0SVi btVkGN5VslHZbtEFKyKAH9rVTacshdJCDGZOxlJMmYUno5+A1sIDTK7SAI4V9cbw Zz1mwlna5Q2FjhoHVpb5u/4WCM7Co11dXCtFBK48i2RH5kIyMjQLT4ayyDbTxXKF Krd9ieOV2zgVxeBKTXCrmmdh12tdkJ+CnAJkekUO5Gab/JZNaogPPjqNpS6I8AR1 JcMgVBA1+DZg3QQFNwpiRyc56vU4fyDPnGUdzpzAnK0a8acjWIwi46QutFk109RB VqCqJoW6fRzkgWGtXWKpa/N3VjKENdqEzR+o6A4qrI8Y8AFYDH70vdiznqNA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1670501495; x=1670508695; bh=9S7c6VjexsFghoYK7FcmLDwH+Tnb UGR78+H67wM0/W4=; b=Py+HcF8mFBh/DfPxOeU+3S8KR/H0YG+0hrrg80L5NLFN A7GEBHQSuH8cJAJQb/Nj7/ibmqpMWmPwI8Gjt1SV4Ye/3UIEypAUBl9p+UQG7kp2 jbdpKTmuT69a7gUryKLDbxV59AOedpFS8dxEkUGTVMxaevk9TUXBNuozYxjNrICH jt3wtbWMq60xnCzKrGWNswJuyU4geIVAcHhzHps0Bfw1ddNP1BKUmrhws0VoS0T5 xFYJ7UbvVa2TeoW9tbJpC8cLT8XBEggyZZ/72TVfQeNVu98HQU/DIT/VTkiRx9Nx zaHX6ZY9kuUx7NHyfCPpm0nwqjHxTcOGziGbyK6ybQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddtgdefjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehgtderredttddunecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepleejuefggeevteelveekteffgeduveeiteeiueegueegiedvtdejjedvfeef tefgnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 8 Dec 2022 07:11:33 -0500 (EST) Date: Thu, 8 Dec 2022 13:11:31 +0100 From: Maxime Ripard To: =?utf-8?B?TWHDrXJh?= Canal Cc: Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Oded Gabbay , Jani Nikula , Melissa Wen , =?utf-8?B?QW5kcsOp?= Almeida , Emma Anholt , Rodrigo Siqueira , Wambui Karuga , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/6] drm/vc4: use new debugfs device-centered functions Message-ID: <20221208121131.cm2f6e33el5agf5p@houat> References: <20221207132325.140393-1-mcanal@igalia.com> <20221207132325.140393-4-mcanal@igalia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cdlhnzwr5xdlwq2a" Content-Disposition: inline In-Reply-To: <20221207132325.140393-4-mcanal@igalia.com> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham 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 --cdlhnzwr5xdlwq2a Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 07, 2022 at 10:23:22AM -0300, Ma=EDra Canal wrote: > Currently, vc4 has its own debugfs infrastructure that adds the debugfs > files on drm_dev_register(). With the introduction of the new debugfs, > functions, replace the vc4 debugfs structure with the DRM debugfs > device-centered function, drm_debugfs_add_file(). >=20 > Moreover, remove the explicit error handling of debugfs related functions, > considering that the only failure mode is -ENOMEM and also that error > handling is not recommended for debugfs functions, as pointed out in [1]. >=20 > [1] https://lore.kernel.org/all/YWAmZdRwnAt6wh9B@kroah.com/ >=20 > Signed-off-by: Ma=EDra Canal Reviewed-by: Maxime Ripard Maxime --cdlhnzwr5xdlwq2a Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCY5HUcwAKCRDj7w1vZxhR xSQfAQCguhxm2S1zvh5BBhAJyMgFNk/ClSljeUu03PYGiWRe4QD/WSMFCxQR/XHL Oqeu1UwlNpWUWtA1dk/QAB9UsIiUfgc= =P3DW -----END PGP SIGNATURE----- --cdlhnzwr5xdlwq2a--