diff options
author | Zhaolei <zhaolei@cn.fujitsu.com> | 2008-10-20 18:53:04 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-22 10:05:27 -0700 |
commit | d66937d71a67724870e03fa35af686e7efe85caf (patch) | |
tree | 3f718e0659b093e6064fa15afc4fcb4c3826b257 /net/sctp/bind_addr.c | |
parent | 78c73414f4f6744e2ea5a07b263a9698aa6f2416 (diff) | |
download | kernel_samsung_smdk4412-d66937d71a67724870e03fa35af686e7efe85caf.zip kernel_samsung_smdk4412-d66937d71a67724870e03fa35af686e7efe85caf.tar.gz kernel_samsung_smdk4412-d66937d71a67724870e03fa35af686e7efe85caf.tar.bz2 |
USB: Fix debugfs_create_file's error checking method for usb/gadget/s3c2410_udc
debugfs_create_file() returns NULL if an error occurs, returns -ENODEV
when debugfs is not enabled in the kernel.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/sctp/bind_addr.c')
0 files changed, 0 insertions, 0 deletions