diff options
author | Dan Carpenter <error27@gmail.com> | 2010-04-22 12:00:52 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-12 15:02:37 -0700 |
commit | a52298dba1c83b9ea7557c92c0200d325a966a99 (patch) | |
tree | 7e82929c8ea0214d08d2f79467c5c8bb0d1d8903 /drivers/usb/host/xhci.h | |
parent | ac0c2f38a399c63e83ce66d4ffdb693ce8bb5b66 (diff) | |
download | kernel-crypto-a52298dba1c83b9ea7557c92c0200d325a966a99.tar.gz kernel-crypto-a52298dba1c83b9ea7557c92c0200d325a966a99.tar.xz kernel-crypto-a52298dba1c83b9ea7557c92c0200d325a966a99.zip |
USB: fix testing the wrong variable in fs_create_by_name()
commit fa7fe7af146a7b613e36a311eefbbfb5555325d1 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/xhci.h')
0 files changed, 0 insertions, 0 deletions