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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 DDF48C32751 for ; Sat, 10 Aug 2019 22:26:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B848F2086A for ; Sat, 10 Aug 2019 22:26:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726383AbfHJW0S (ORCPT ); Sat, 10 Aug 2019 18:26:18 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:50982 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725788AbfHJW0S (ORCPT ); Sat, 10 Aug 2019 18:26:18 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 0E6B815507D03; Sat, 10 Aug 2019 15:26:18 -0700 (PDT) Date: Sat, 10 Aug 2019 15:26:17 -0700 (PDT) Message-Id: <20190810.152617.44244254590232561.davem@davemloft.net> To: gregkh@linuxfoundation.org Cc: netdev@vger.kernel.org Subject: Re: [PATCH v3 00/17] Networking driver debugfs cleanups From: David Miller In-Reply-To: <20190810101732.26612-1-gregkh@linuxfoundation.org> References: <20190810101732.26612-1-gregkh@linuxfoundation.org> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sat, 10 Aug 2019 15:26:18 -0700 (PDT) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Greg Kroah-Hartman Date: Sat, 10 Aug 2019 12:17:15 +0200 > There is no need to test the result of any debugfs call anymore. The > debugfs core warns the user if something fails, and the return value of > a debugfs call can always be fed back into another debugfs call with no > problems. > > Also, debugfs is for debugging, so if there are problems with debugfs > (i.e. the system is out of memory) the rest of the kernel should not > change behavior, so testing for debugfs calls is pointless and not the > goal of debugfs at all. > > This series cleans up a lot of networking drivers and some wimax code > that was calling debugfs and trying to do something with the return > value that it didn't need to. Removing this logic makes the code > smaller, easier to understand, and use less run-time memory in some > cases, all good things. > > The series is against net-next, and have no dependancies between any of > them if they want to go through any random tree/order. Or, if wanted, > I can take them through my driver-core tree where other debugfs cleanups > are being slowly fed during major merge windows. > > v3: fix build warning in i2400m, I thought I had caught them all :( > add acks from some reviewers > > v2: fix up build warnings, it's as if I never even built these. Ugh, so > sorry for wasting people's time with the v1 series. I need to stop > relying on 0-day as it isn't working well anymore :( Series applied, and fingers crossed, thanks. :)