Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5557094rwr; Mon, 24 Apr 2023 06:06:32 -0700 (PDT) X-Google-Smtp-Source: AKy350aDzEFTIiupcOmxr84+G/61RbSlHWCYbSMueDrI5hjAaG7H3HICnT35wcXU88GKMdFaYGRn X-Received: by 2002:a6b:7601:0:b0:760:b591:e651 with SMTP id g1-20020a6b7601000000b00760b591e651mr5693890iom.13.1682341591866; Mon, 24 Apr 2023 06:06:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682341591; cv=none; d=google.com; s=arc-20160816; b=N4E6cU9AXS5vjWvlqy+N4niNLvQ6iAEN4DOsw7z/Xo4qcgYKor1+oNAqnVYHIVNikM TMUE858yB1K+6Z8zD1uvBBCpoG8Xpzik5OzEkF0HK+hDRTD6JxFT2U32KX/r4BoLztTN NH2Q9dN8x8raiMNJuwHyn84exXaoKz3qVDLs6QsGZbgScqzQJTREv4o4lVG3kNb0ej2h ygKYavm0+l6YU/81CCzTVSkM6JLfY3pyD+8+Znan+Dp7+GSKwOCIXixDeuwYF6fJKANl jq1hAR7Icq66yBXr+BgBAjNML0mWvJNS6Bg7FKP912yvcHdWRqq0niL3+0SQLMphozV9 8rJA== 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:dkim-signature; bh=fteR76QTVItOEEcM+S+xe2WjKVQ8K+77OkWCF3do05U=; b=HmhBgo1cHFoOsmIXNt43BF2stqciMaU21PihYiHY1VGxm2F9xpufzTl96j7XkLCVX2 DCZLeY1Ia6b64wrumoxY7msiPnKPhaqyTq9+uwBxQGXkyiDt6zqSsNcycQ+TkD4EkiAK F19XVACLCgpOVJqFSW3MxYUznD6KmUB87ilbcCz94X1xzfz4vfQC3bQ26QsEyKGtgsw3 4DzT1ZhukLyDTiwSGrDkHGv5JZt8K1a3SQInzqSHu4bLE+9w7uaVSabsu/tKAJINdEBh uRE4Qy7rqC0XC7F/3fN4pwT3D2P4H6buqdx92tweY3LQZiXiNDEEUgW2DogAQn5GZOlL NRoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bnN3x7ZY; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v1-20020a5d9401000000b007636ce85afesi8776103ion.101.2023.04.24.06.05.54; Mon, 24 Apr 2023 06:06:31 -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=@kernel.org header.s=k20201202 header.b=bnN3x7ZY; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231583AbjDXNAZ (ORCPT + 99 others); Mon, 24 Apr 2023 09:00:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229625AbjDXNAY (ORCPT ); Mon, 24 Apr 2023 09:00:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DC913A94; Mon, 24 Apr 2023 06:00:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2D8F961A2A; Mon, 24 Apr 2023 13:00:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03845C433EF; Mon, 24 Apr 2023 13:00:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682341222; bh=fteR76QTVItOEEcM+S+xe2WjKVQ8K+77OkWCF3do05U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bnN3x7ZYgoKl4vlHWNJyFpimRHKeDYZ44Krv0rCJqTPNVTRfhO34+o/U0l5Ib1GtY tr2+i+k1hmyk7T4+BOhYC8j9hJ7hXh4SRE5loa42DIj/F3Hx5kiE4SQKWO2H8fXCj4 GKzEDd234Uy+IKOMkgaPnPxHcPC+DpDql5zkjWMYwsgWB52XBlhe/3btd/yztNWdYj ci90Omo8GXtRZHZfLRfiIDLPRQ4vVFNQTrx56kWdm5gaXdB3bDXfRQe2/XErwfAIMi 3bzTNZKCAi92XgrzQlMouYS5vYWXisTtniIlcCMpCaEKuTfe+FXnsRrg3kxf+8mAhr O9InyLAmOyk5w== Date: Mon, 24 Apr 2023 14:00:14 +0100 From: Mark Brown To: Greg Kroah-Hartman Cc: Peter Enderborg , Yingsha Xu , Serge Semin , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] spi: remove return value check of debugfs_create_dir() Message-ID: <55ab40bb-8b3e-496d-bf45-6c4ebd01e43f@sirena.org.uk> References: <20230423061155.2540-1-ysxu@hust.edu.cn> <368e31ae-31b5-839f-72e3-20a27239cb0b@sony.com> <2023042421-landowner-magnitude-a38c@gregkh> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="twwtZg5AgNt9nx7z" Content-Disposition: inline In-Reply-To: <2023042421-landowner-magnitude-a38c@gregkh> X-Cookie: A rolling disk gathers no MOS. X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 --twwtZg5AgNt9nx7z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Apr 24, 2023 at 02:53:12PM +0200, Greg Kroah-Hartman wrote: > On Mon, Apr 24, 2023 at 01:32:14PM +0100, Mark Brown wrote: > > There's issues with partially created debugfs structures getting in the > > way of people trying to debug things, just completely ignoring all > > errors can create confusion as the diagnostic information people believe > > is being shown to them ends up being partial or mistructured without any > > indication that this has happened. > How do you end up with partially created debugfs structures? The ones I've seen have been name collisions caused by for example the debugfs structure created being flatter than the device model structure, though obviously something unanticipated could come up. --twwtZg5AgNt9nx7z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmRGfV0ACgkQJNaLcl1U h9DJYwf/TTBIVw0o1yEbPfrrayohucG1g5k1JQliO/VyIp3MQJEDupEfsczMrWZL Y8oMnHjC0xlOy658EasXHArP8E3+efPZleYlNPESJJ9hW+Xj/rRPYdxJDdpwzE6l s/lUCVOAe6azDuusWVocOyPrFuT5qeTgkvYYTV12RTxkapIUx2rT9Oed+h46ONWG j4sQrbbLgaWsWUI+I7/XMB8HLKS1lGNE3GrJtF5UDdxX4HlplyCHzn+x5lOOtklV oa27Cq9BSef9PkMvc4eGcDu89Esgm3dv44/n6HBnEug3hm/Xdwvd4DFJg77YCPZb yQCfYq9MBCIYkzZl+0l8++MyGhRjuw== =YueL -----END PGP SIGNATURE----- --twwtZg5AgNt9nx7z--