Re: [PATCH] Fix build error due to not including
> 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 break, and sysfs does consume > rather a lot of memory at runtime. Hopefully someone out there is finding > SYSFS=n to be useful for deeply embedded applications. Actually i've managed to build and run rc5 for five days now. Not so embedded amd64 laptop. Kudos and thanks to Ralf. After splitting kobject from sysfs, as it was commented Tejun Heo in the [RFD driver-core] Lifetime problems of the current driver model maybe something lightweight can emerge, without current 'features' and going-to-be sysfs-v1,v2,v3 thing... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Fix build error due to not including linux/errno.h
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 consume rather a lot of memory at runtime. Hopefully someone out there is finding SYSFS=n to be useful for deeply embedded applications. Actually i've managed to build and run rc5 for five days now. Not so embedded amd64 laptop. Kudos and thanks to Ralf. After splitting kobject from sysfs, as it was commented Tejun Heo in the [RFD driver-core] Lifetime problems of the current driver model maybe something lightweight can emerge, without current 'features' and going-to-be sysfs-v1,v2,v3 thing... - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Fix build error due to not including
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 > sort of thing just shouldn't happen - but the fact that in both cases > the bug wasn't noticed for a few days makes me wonder if we simply should > always enable CONFIG_SYSFS at some point. > 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 consume rather a lot of memory at runtime. Hopefully someone out there is finding SYSFS=n to be useful for deeply embedded applications. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Fix build error due to not including
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 wasn't noticed for a few days makes me wonder if we simply should always enable CONFIG_SYSFS at some point. Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Fix build error due to not including
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 b/include/linux/sysfs.h > index 0544edd..fea9a6b 100644 > --- a/include/linux/sysfs.h > +++ b/include/linux/sysfs.h > @@ -11,6 +11,7 @@ > #define _SYSFS_H_ > > #include > +#include > #include > #include Acked-by: Alan Stern <[EMAIL PROTECTED]> Thank you for spotting and fixing this. Alan Stern - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] Fix build error due to not including
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 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h @@ -11,6 +11,7 @@ #define _SYSFS_H_ #include +#include #include #include - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] Fix build error due to not including linux/errno.h
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 0544edd..fea9a6b 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h @@ -11,6 +11,7 @@ #define _SYSFS_H_ #include linux/compiler.h +#include linux/errno.h #include linux/list.h #include asm/atomic.h - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Fix build error due to not including linux/errno.h
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 a/include/linux/sysfs.h b/include/linux/sysfs.h index 0544edd..fea9a6b 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h @@ -11,6 +11,7 @@ #define _SYSFS_H_ #include linux/compiler.h +#include linux/errno.h #include linux/list.h #include asm/atomic.h Acked-by: Alan Stern [EMAIL PROTECTED] Thank you for spotting and fixing this. Alan Stern - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Fix build error due to not including linux/errno.h
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 wasn't noticed for a few days makes me wonder if we simply should always enable CONFIG_SYSFS at some point. Ralf - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Fix build error due to not including linux/errno.h
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 sort of thing just shouldn't happen - but the fact that in both cases the bug wasn't noticed for a few days makes me wonder if we simply should always enable CONFIG_SYSFS at some point. 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 consume rather a lot of memory at runtime. Hopefully someone out there is finding SYSFS=n to be useful for deeply embedded applications. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/