Subject: Re: linux-next: Tree for August 1 (sysfs.h)

From: Randy Dunlap <[email-masked]>
Date: Fri, 1 Aug 2008 11:14:52 -0700

When CONFIG_SYSFS=n:

  CC      arch/x86/kernel/asm-offsets.s
In file included from linux-next-20080801/include/linux/kobject.h:21,
                 from linux-next-20080801/include/linux/module.h:16,
                 from linux-next-20080801/include/linux/crypto.h:21,
                 from linux-next-20080801/arch/x86/kernel/asm-offsets_64.c:7,
                 from linux-next-20080801/arch/x86/kernel/asm-offsets.c:4:
linux-next-20080801/include/linux/sysfs.h:247: error: return type is an incomplete type
linux-next-20080801/include/linux/sysfs.h: In function 'sysfs_get':
linux-next-20080801/include/linux/sysfs.h:248: warning: 'return' with a value, in function returning void
make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1

---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/