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

From: Greg KH
Date: Fri Aug 01 2008 - 16:29:01 EST


On Fri, Aug 01, 2008 at 11:14:52AM -0700, Randy Dunlap wrote:
> 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

Ah, missed a "*". It's Neil's fault :)

I'll go fix this up, it's for when CONFIG_SYSFS is set to N, right?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/