[lkml]   [2013]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Driver core: Fix device_add_attrs() error code path
On Thu, Dec 12, 2013 at 06:11:02AM +0100, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <>
> If the addition of dev_attr_online fails, device_add_attrs() should
> remove device attribute groups as well as type and class attribute
> groups before returning an error code. Make that happen.
> Signed-off-by: Rafael J. Wysocki <>

Does this need tob e in 3.13-final? Or can it wait for 3.14-rc1? The
odds that this file creation would ever fail is _really_ low, right?


greg k-h

 \ /
  Last update: 2013-12-13 00:21    [W:0.042 / U:5.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site