summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-05-02 11:37:22 -0500
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-05-17 14:16:20 +0300
commit53e720f332d546dee5a98a55f6e532355727bc4d (patch)
treed974433230af4267f9f071320e08653249ab64b2 /drivers/usb/dwc2
parentd94e64cb24790b1df52524173330020ff950921d (diff)
downloadblackbird-obmc-linux-53e720f332d546dee5a98a55f6e532355727bc4d.tar.gz
blackbird-obmc-linux-53e720f332d546dee5a98a55f6e532355727bc4d.zip
usb: gadget: udc: add null check before pointer dereference
Add null check before dereferencing dev->regs pointer inside net2280_led_shutdown() function. Addresses-Coverity-ID: 101783 Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc2')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud