Re: [PATCH] Fix build error due to not including

2007-03-31 Thread Oleg Verych
> From: Andrew Morton > Newsgroups: gmane.linux.kernel > Subject: Re: [PATCH] Fix build error due to not including > Date: Sun, 18 Mar 2007 22:01:48 -0800 > > If is a bit of a pain to maintain CONFIG_SYSFS=n. But then, it's > realtively easy to fix things when they do

Re: [PATCH] Fix build error due to not including linux/errno.h

2007-03-31 Thread Oleg Verych
From: Andrew Morton Newsgroups: gmane.linux.kernel Subject: Re: [PATCH] Fix build error due to not including linux/errno.h Date: Sun, 18 Mar 2007 22:01:48 -0800 If is a bit of a pain to maintain CONFIG_SYSFS=n. But then, it's realtively easy to fix things when they do break, and sysfs does

Re: [PATCH] Fix build error due to not including

2007-03-18 Thread Andrew Morton
On Mon, 19 Mar 2007 00:44:43 + Ralf Baechle <[EMAIL PROTECTED]> wrote: > On Sun, Mar 18, 2007 at 08:36:48PM -0400, Alan Stern wrote: > > > Acked-by: Alan Stern <[EMAIL PROTECTED]> > > > > Thank you for spotting and fixing this. > > It's the second time I've fixed a CONFIG_SYSFS=n bug. Of

Re: [PATCH] Fix build error due to not including

2007-03-18 Thread Ralf Baechle
On Sun, Mar 18, 2007 at 08:36:48PM -0400, Alan Stern wrote: > Acked-by: Alan Stern <[EMAIL PROTECTED]> > > Thank you for spotting and fixing this. It's the second time I've fixed a CONFIG_SYSFS=n bug. Of course that sort of thing just shouldn't happen - but the fact that in both cases the bug

Re: [PATCH] Fix build error due to not including

2007-03-18 Thread Alan Stern
On Sun, 18 Mar 2007, Ralf Baechle wrote: > Since d9a9cdfb078d755e648d53ec25b7370f84ee5729 is using > ENOSYS without including if CONFIG_SYSFS is disabled. > > Fixed by including . > > Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> > > diff --git a/include/linux/sysfs.h

[PATCH] Fix build error due to not including

2007-03-18 Thread Ralf Baechle
Since d9a9cdfb078d755e648d53ec25b7370f84ee5729 is using ENOSYS without including if CONFIG_SYSFS is disabled. Fixed by including . Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index 0544edd..fea9a6b 100644 ---

[PATCH] Fix build error due to not including linux/errno.h

2007-03-18 Thread Ralf Baechle
Since d9a9cdfb078d755e648d53ec25b7370f84ee5729 linux/sysfs.h is using ENOSYS without including linux/errno.h if CONFIG_SYSFS is disabled. Fixed by including linux/errno.h. Signed-off-by: Ralf Baechle [EMAIL PROTECTED] diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index

Re: [PATCH] Fix build error due to not including linux/errno.h

2007-03-18 Thread Alan Stern
On Sun, 18 Mar 2007, Ralf Baechle wrote: Since d9a9cdfb078d755e648d53ec25b7370f84ee5729 linux/sysfs.h is using ENOSYS without including linux/errno.h if CONFIG_SYSFS is disabled. Fixed by including linux/errno.h. Signed-off-by: Ralf Baechle [EMAIL PROTECTED] diff --git

Re: [PATCH] Fix build error due to not including linux/errno.h

2007-03-18 Thread Ralf Baechle
On Sun, Mar 18, 2007 at 08:36:48PM -0400, Alan Stern wrote: Acked-by: Alan Stern [EMAIL PROTECTED] Thank you for spotting and fixing this. It's the second time I've fixed a CONFIG_SYSFS=n bug. Of course that sort of thing just shouldn't happen - but the fact that in both cases the bug

Re: [PATCH] Fix build error due to not including linux/errno.h

2007-03-18 Thread Andrew Morton
On Mon, 19 Mar 2007 00:44:43 + Ralf Baechle [EMAIL PROTECTED] wrote: On Sun, Mar 18, 2007 at 08:36:48PM -0400, Alan Stern wrote: Acked-by: Alan Stern [EMAIL PROTECTED] Thank you for spotting and fixing this. It's the second time I've fixed a CONFIG_SYSFS=n bug. Of course that