Greg KH wrote: > > No, you did not properly initialize all of the attribute fields, so your > module could be unloaded when the sysfs file is open :( > > Please use the proper macro for this: __ATTR_RO() > > greg k-h > New patch using __ATTR_RO. P.