Messages in this thread | | | Date | Tue, 17 Jun 2014 11:00:25 -0500 (CDT) | From | Christoph Lameter <> | Subject | Re: [PATCH 01/24] kobject: return actual error on kset_create_and_add |
| |
On Tue, 17 Jun 2014, Greg KH wrote:
> Who really cares about that? What can do you do with that additional > information that will help anything out?
The obvious reason for doing so is so that one can put the error code into a log message to get more detailed information on why the call failed.
In this particular case the slab allocator can give an error message that gives a hint why the sysfs support could not be enabled.
| |