lkml.org 
[lkml]   [2009]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sysfs: sysfs_add_one tells you _where_ the duplicate file is
On Wed, Feb 11, 2009 at 01:26:01PM -0700, Alex Chiang wrote:
> Give a better clue about where we might be creating duplicate
> files by displaying the parent's name as well.
>
> Signed-off-by: Alex Chiang <achiang@hp.com>
> ---
> It would be nice to get a full path, but simply printing out the
> parent is cheap and more useful than what we have now.

What happens if you don't have a parent? will this oops if you are
creating a duplicate device in the root of the sysfs tree?

thanks,

greg k-h


\
 
 \ /
  Last update: 2009-02-11 23:45    [W:0.059 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site