diff options
author | Oliver Neukum <oneukum@suse.com> | 2019-05-09 14:41:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-21 10:08:56 +0200 |
commit | 9a5729f68d3a82786aea110b1bfe610be318f80a (patch) | |
tree | 464c00422a1f3ed1e261be91e8a33df3145b2cf6 /drivers/vfio | |
parent | USB: Add LPM quirk for Surface Dock GigE adapter (diff) | |
download | linux-9a5729f68d3a82786aea110b1bfe610be318f80a.tar.xz linux-9a5729f68d3a82786aea110b1bfe610be318f80a.zip |
USB: sisusbvga: fix oops in error path of sisusb_probe
The pointer used to log a failure of usb_register_dev() must
be set before the error is logged.
v2: fix that minor is not available before registration
Signed-off-by: oliver Neukum <oneukum@suse.com>
Reported-by: syzbot+a0cbdbd6d169020c8959@syzkaller.appspotmail.com
Fixes: 7b5cd5fefbe02 ("USB: SisUSB2VGA: Convert printk to dev_* macros")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions