diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2007-07-14 11:03:35 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-18 15:49:49 -0700 |
commit | 01da2425f327d7ac673e594bee5655523115970b (patch) | |
tree | 44a33a3fa5e088dfe63e9485823400d12aab3b0b /Documentation/driver-model | |
parent | 3f8df781fc5f9ee5253a54ba669e1c8872844b86 (diff) | |
download | kernel_samsung_smdk4412-01da2425f327d7ac673e594bee5655523115970b.zip kernel_samsung_smdk4412-01da2425f327d7ac673e594bee5655523115970b.tar.gz kernel_samsung_smdk4412-01da2425f327d7ac673e594bee5655523115970b.tar.bz2 |
sysfs: avoid kmem_cache_free(NULL)
kmem_cache_free() with NULL is not allowed. But it may happen
if out of memory error is triggered in sysfs_new_dirent().
This patch fixes that error handling.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/driver-model')
0 files changed, 0 insertions, 0 deletions