Re: [PATCH 01/24] kobject: return actual error on kset_create_and_add
From: Greg KH
Date: Tue Jun 17 2014 - 11:43:38 EST
On Tue, Jun 17, 2014 at 10:25:59PM +0800, Jeff Liu wrote:
> From: Jie Liu <jeff.liu@xxxxxxxxxx>
>
> It's better to return the actual error rather than NULL because
> kset_register() can failed due to other reasons.
Why?
Who really cares about that? What can do you do with that additional
information that will help anything out?
In other words, what benifit does this patch create to justify the large
churn it is going to cause?
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/