From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 496F9C47076 for ; Fri, 21 May 2021 18:44:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2997F61175 for ; Fri, 21 May 2021 18:44:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239024AbhEUSp6 (ORCPT ); Fri, 21 May 2021 14:45:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:47658 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230293AbhEUSp4 (ORCPT ); Fri, 21 May 2021 14:45:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DD96B61175; Fri, 21 May 2021 18:44:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621622673; bh=rogtdmYs9DKusvh+ciLKdiZ1+ttLoM5pHfLA67Ozc9A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Dy38Gr36usmMnfpYJPzMBAylWa32LFN5dCDbZSJ26dUMeDBZQ+CsEEAtf3Z8Io+Pl CbQGY9qm2zfEIgfS8N1DnlRhHxQM1ekwPAQkqMaGZH77CwtmneH8jkn/WQnw5xeQs0 NSR40HSOkovFKQv7l3q/OQuisvKsLQ4C1XhNVVgw= Date: Fri, 21 May 2021 20:44:31 +0200 From: Greg Kroah-Hartman To: Kalle Valo Cc: linux-wireless@vger.kernel.org, Larry Finger , "David S. Miller" , Jakub Kicinski , b43-dev@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] b43legacy: don't save dentries for debugfs Message-ID: References: <20210518163309.3702100-1-gregkh@linuxfoundation.org> <87zgwsgcg8.fsf@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87zgwsgcg8.fsf@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, May 18, 2021 at 08:48:39PM +0300, Kalle Valo wrote: > Greg Kroah-Hartman writes: > > > There is no need to keep around the dentry pointers for the debugfs > > files as they will all be automatically removed when the subdir is > > removed. So save the space and logic involved in keeping them around by > > just getting rid of them entirely. > > > > By doing this change, we remove one of the last in-kernel user that was > > storing the result of debugfs_create_bool(), so that api can be cleaned > > up. > > > > Cc: Larry Finger > > Cc: Kalle Valo > > Cc: "David S. Miller" > > Cc: Jakub Kicinski > > Cc: linux-wireless@vger.kernel.org > > Cc: b43-dev@lists.infradead.org > > Cc: netdev@vger.kernel.org > > Cc: linux-kernel@vger.kernel.org > > Signed-off-by: Greg Kroah-Hartman > > --- > > .../net/wireless/broadcom/b43legacy/debugfs.c | 29 ++++--------------- > > .../net/wireless/broadcom/b43legacy/debugfs.h | 3 -- > > 2 files changed, 5 insertions(+), 27 deletions(-) > > > > Note, I can take this through my debugfs tree if wanted, that way I can > > clean up the debugfs_create_bool() api at the same time. Otherwise it's > > fine, I can wait until next -rc1 for that to happen. > > Acked-by: Kalle Valo Thanks for the ack!