summaryrefslogtreecommitdiffstats
path: root/drivers/usb/class
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-04-22 12:00:52 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-30 18:25:09 +0200
commitfa7fe7af146a7b613e36a311eefbbfb5555325d1 (patch)
tree354dc1cf91089c473d9e236518d97cf84adb1bf7 /drivers/usb/class
parentusb: Fix tusb6010 for DMA API (diff)
downloadlinux-fa7fe7af146a7b613e36a311eefbbfb5555325d1.tar.xz
linux-fa7fe7af146a7b613e36a311eefbbfb5555325d1.zip
USB: fix testing the wrong variable in fs_create_by_name()
There is a typo here. We should be testing "*dentry" which was just assigned instead of "dentry". This could result in dereferencing an ERR_PTR inside either usbfs_mkdir() or usbfs_create(). Signed-off-by: Dan Carpenter <error27@gmail.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/class')
0 files changed, 0 insertions, 0 deletions