lkml.org 
[lkml]   [2008]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: kobject: Fix kobject_rename and !CONFIG_SYSFS
Greg KH <greg@kroah.com> writes:

>
> Eric, Randy Dunlap has found that this patch breaks the build when
> CONFIG_SYSFS is not enabled. Can you please fix it up before I send it
> to Linus?
>
> The exact error is:
> In file included from /local/linsrc/next-20080509/include/linux/kobject.h:21,
> from /local/linsrc/next-20080509/include/linux/module.h:16,
> from /local/linsrc/next-20080509/include/linux/crypto.h:21,
> from
> /local/linsrc/next-20080509/arch/x86/kernel/asm-offsets_64.c:7,
> from
> /local/linsrc/next-20080509/arch/x86/kernel/asm-offsets.c:4:
> /local/linsrc/next-20080509/include/linux/sysfs.h: In function
> 'sysfs_rename_dir':
> /local/linsrc/next-20080509/include/linux/sysfs.h:142: error: implicit
> declaration of function 'kobject_set_name'

I will take a look in the morning and see if I can see what is wrong.

Which tree was this error against? I thought I tested this case,
and I'm wondering if there might be another patch that is hiding
kobject_set_name.

Eric


\
 
 \ /
  Last update: 2008-05-13 09:13    [W:0.059 / U:0.804 seconds]
©2003-2014 Jasper Spaans. Advertise on this site