Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1686025pxj; Wed, 19 May 2021 11:27:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhaH6li6HUj6HHJTbq2kEARKbceYdWmqrrfoDnHDJgGrSd9HtLSXSGISfvRUS/OKDBSnXY X-Received: by 2002:a17:906:f01:: with SMTP id z1mr422796eji.535.1621448826726; Wed, 19 May 2021 11:27:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621448826; cv=none; d=google.com; s=arc-20160816; b=c9khqGaiGLjSgOE7nhKplJh5y39nbY1vODM0bhOsF2s27cvCi7MEoGk3ZRF8JYPNt6 1waUfuzsSaAVTr/DJ4i3KzB+w99yUKJqICsC6/WsSiLeUcebB7Y7b665e39p8ulfbrY8 m5RB0AVALeIzFLri05v6k6ylY553tWweuLfdvZGBzma6kj8C9E0VelBTko7y1Jlow8Lm j44XiGtLsu1hREeCuEBVrWPIwqQdg0NapJqGWDRGTADTbD6FMhdv0ZymT4oDK/9eUDp1 ZQIuDciW5Dwy2gyLBsLWicEkrJUKibVP83R6K/b6uyzpOUfWoXnzylp1JOJIYRwTecLh GkqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dmarc-filter:sender :dkim-signature; bh=XmuA3B7GS6TkN5kLEy21D8OBDa8+e9kx9cJtWb8Qq7o=; b=jXa0H/LMYeOgGhFkw+YlrSBcSmjwY0Ih2e0wPUVo6/RzAWE+BlIEl8ZW+25jB0QsGu LgzAQDF3Jst6oqbe6e8tZ4c6F/cEuQlSZQvde4Jg+DcNxz6qbcJypNpXzHX+7bgcgUDx tp3ezEf+JkTfhguhrlmLtak4Y/HplutmR6khua8zgQp/IsizCsSXayosfw+Gk+lZbqbk OVJAYhpxnMbsacEZy71ku4L2lb29eib2a9jCpwqsViJwhQGulsPMDCH0av0X3M23toKb 9BlO7PoaOaOCAf7K4ScrJAZ9tgZviJkVX5GBEA4hKaOUBoFkYI2anbv1vbEs5d8t/Az5 YnxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=ootCc5Tu; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ga2si479655ejb.249.2021.05.19.11.26.43; Wed, 19 May 2021 11:27:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=ootCc5Tu; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351360AbhERRtc (ORCPT + 99 others); Tue, 18 May 2021 13:49:32 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:38215 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245566AbhERRta (ORCPT ); Tue, 18 May 2021 13:49:30 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1621360092; h=Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=XmuA3B7GS6TkN5kLEy21D8OBDa8+e9kx9cJtWb8Qq7o=; b=ootCc5Tub+XxW++Yt9SAIdZBNth16c3Aowf732Przn6xIBWRcd2SyxGL9pqz43zzThpKm1IV lNgJsVpnnIFBdNKO6+qmf5Jxpfi0fMCm6GPsTUOE9JTVjKny6fV7kU0JgxCIVJKM4EftFhwd ZMNHcDVkvqu0g9vDtj/O8dplrT4= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n03.prod.us-west-2.postgun.com with SMTP id 60a3fdd31449805ea2aa2588 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 18 May 2021 17:48:03 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id A0628C4360C; Tue, 18 May 2021 17:48:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 3AC72C433F1; Tue, 18 May 2021 17:47:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 3AC72C433F1 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Greg Kroah-Hartman Cc: linux-wireless@vger.kernel.org, "David S. Miller" , Jakub Kicinski , Kees Cook , Jason Gunthorpe , Chao Yu , Leon Romanovsky , b43-dev@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] b43: don't save dentries for debugfs References: <20210518163304.3702015-1-gregkh@linuxfoundation.org> Date: Tue, 18 May 2021 20:47:58 +0300 In-Reply-To: <20210518163304.3702015-1-gregkh@linuxfoundation.org> (Greg Kroah-Hartman's message of "Tue, 18 May 2021 18:33:04 +0200") Message-ID: <874kf0hr1t.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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: Kalle Valo > Cc: "David S. Miller" > Cc: Jakub Kicinski > Cc: Kees Cook > Cc: Greg Kroah-Hartman > Cc: Jason Gunthorpe > Cc: Chao Yu > Cc: Leon Romanovsky > 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 > --- > drivers/net/wireless/broadcom/b43/debugfs.c | 34 +++------------------ > drivers/net/wireless/broadcom/b43/debugfs.h | 3 -- > 2 files changed, 5 insertions(+), 32 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. Yeah, it's best that you take this via your tree. Acked-by: Kalle Valo -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches