media: usb: siano: Fix false-positive "uninitialized variable" warning
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 21 May 2019 15:38:07 +0000 (11:38 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jun 2019 10:24:09 +0000 (12:24 +0200)
commit0bce1ea897120c1a627b6a45a58d025188ffe8c8
tree2fb0d2e576c51af7546d9cd947cd431b90d123dd
parentb1782be70e1e281216f58ba283a0e55ad6364aaf
media: usb: siano: Fix false-positive "uninitialized variable" warning

commit 45457c01171fd1488a7000d1751c06ed8560ee38 upstream.

GCC complains about an apparently uninitialized variable recently
added to smsusb_init_device().  It's a false positive, but to silence
the warning this patch adds a trivial initialization.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-by: kbuild test robot <lkp@intel.com>
CC: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/usb/siano/smsusb.c