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

From: Greg KH <[email-masked]>
Date: Fri, 1 Aug 2008 11:26:12 -0700

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