From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [PATCHv2 3/3] simple_open: Automatically convert to simple_open() Date: Fri, 16 Mar 2012 16:49:11 -0700 Message-ID: <20120316164911.dbc089de.akpm@linux-foundation.org> References: <1331631988-20527-1-git-send-email-sboyd@codeaurora.org> <1331631988-20527-4-git-send-email-sboyd@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Greg Kroah-Hartman , Al Viro , Julia Lawall To: Stephen Boyd Return-path: In-Reply-To: <1331631988-20527-4-git-send-email-sboyd@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, 13 Mar 2012 02:46:28 -0700 Stephen Boyd wrote: > Many users of debugfs copy the implementation of default_open() > when they want to support a custom read/write function op. This > leads to a proliferation of the default_open() implementation > across the entire tree. Now that the common implementation has > been consolidated into libfs we can replace all the users of this > function with simple_open(). > > > ... > > --- a/drivers/net/wireless/wl12xx/debugfs.c > +++ b/drivers/net/wireless/wl12xx/debugfs.c > This broke. I'm hitting quite a lot of build errors from this patch. I'm not confident that I will be able to compile-test every file that it touches so I shall drop the patch. Please fix it all up, compile-test *every* file, then resend. If possible, against linux-next, please. Quite a few things in this area have been changed.