Hi Greg, Greg KH wrote: >> #if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET) >>+u64 uevent_seqnum; >>+char uevent_helper[UEVENT_HELPER_PATH_LEN] = "/sbin/hotplug"; > > No, the seqnum and helper can be called even if we have not defined > CONFIG_NET. Please redo the patch based on this. OK, thanks for the comment. I thought it could be conditional on CONFIG_NET because it's used only from kobject_uevent() except for kernel/ksysfs.c which just exports them to sysfs. Are there other users? Or do you mean we have to keep sysfs files for user space? Attached patch makes them conditional on CONFIG_HOTPLUG only. Build tested with both (!CONFIG_NET && CONFIG_SYSFS) and (CONFIG_NET && !CONFIG_SYSFS). Does this look correct? Thanks, -- Jun'ichi Nomura, NEC Solutions (America), Inc.