diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-05-02 11:37:22 -0500 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-05-17 14:16:20 +0300 |
commit | 53e720f332d546dee5a98a55f6e532355727bc4d (patch) | |
tree | d974433230af4267f9f071320e08653249ab64b2 /drivers/usb/dwc2 | |
parent | d94e64cb24790b1df52524173330020ff950921d (diff) | |
download | blackbird-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