diff options
| author | Steven Rostedt <[email protected]> | 2005-11-23 09:15:44 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2006-01-04 16:18:09 -0800 |
| commit | e80a5dea8e056d8f398be1900d61c581d379f02f (patch) | |
| tree | 97d6e0d1c669987c54961bec49347b3717e55d52 /scripts/basic | |
| parent | 8218ef80932aa7e5e3d20c929a640c8d82133a9a (diff) | |
[PATCH] sysfs: handle failures in sysfs_make_dirent
I noticed that if sysfs_make_dirent fails to allocate the sd, then a
null will be passed to sysfs_put.
Signed-off-by: Steven Rostedt <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions