[lkml]   [2009]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] driver-core: devtmpfs - driver core maintained /dev tmpfs
On Fri, May 1, 2009 at 07:29, Andrew Morton <> wrote:

> dev->type->nodename() might have failed due to -ENOMEM, in which case
> it seems wrong to assume that it returned NULL for <whatever reason you
> thought it might want to return NULL>.
> It's all a bit confused.

This logic is only for providing a custom name hint. Only a few
devices need that at all. If the allocation fails, the default name
will be used, not the custom name.


 \ /
  Last update: 2009-05-01 13:19    [W:0.263 / U:1.164 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site