Re: [PATCH] proc_fs.h redux

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alexey Dobriyan <adobriyan@...>
Cc: <akpm@...>, <torvalds@...>, <viro@...>, <linux-kernel@...>, <netdev@...>, <linux-arch@...>
Date: Saturday, October 27, 2007 - 6:40 pm

On Sat, 2007-10-27 at 23:47 +0400, Alexey Dobriyan wrote:


Your code doesn't match your patch description.

You've got new includes of:

<linux/fs.h>
<linux/proc_fs.h>
<linux/err.h>
<linux/kref.h>

and forward declarations of

struct proc_dir_entry;
struct file_operations;

As a general rule, I think it better to use includes
than use naked forward declarations.


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] proc_fs.h redux, Alexey Dobriyan, (Sat Oct 27, 3:47 pm)
Re: [PATCH] proc_fs.h redux, Joe Perches, (Sat Oct 27, 6:40 pm)
Re: [PATCH] proc_fs.h redux, Russell King, (Sun Oct 28, 6:34 am)
Re: [PATCH] proc_fs.h redux, Roman Zippel, (Sun Oct 28, 1:58 pm)
Re: [PATCH] proc_fs.h redux, Bernhard Walle, (Sun Oct 28, 7:59 am)
Re: [PATCH] proc_fs.h redux, Russell King, (Sun Oct 28, 9:04 am)
Re: [PATCH] proc_fs.h redux, Bernhard Walle, (Sun Oct 28, 9:25 am)
Re: [PATCH] proc_fs.h redux, Jan Engelhardt, (Sun Oct 28, 6:43 am)
Re: [PATCH] proc_fs.h redux, Sam Ravnborg, (Sun Oct 28, 4:44 am)
Re: [PATCH] proc_fs.h redux, Arnaldo Carvalho de Melo, (Mon Oct 29, 9:03 am)
Re: [PATCH] proc_fs.h redux, Alexey Dobriyan, (Sun Oct 28, 3:02 am)