diff options
author | Nikhil Badola <nikhil.badola@freescale.com> | 2015-06-09 11:17:17 (GMT) |
---|---|---|
committer | Honghua Yin <Hong-Hua.Yin@freescale.com> | 2015-06-10 03:17:38 (GMT) |
commit | 66e98353166bf120c4ca1b264b926b09b8d90d20 (patch) | |
tree | 8741cd9e1ca488efe44b80fdb2787844ebab2eda /drivers/usb/gadget/fusb300_udc.c | |
parent | 21090f1e2889190450ec0b833dffd0a3af372e2a (diff) | |
download | linux-fsl-qoriq-66e98353166bf120c4ca1b264b926b09b8d90d20.tar.xz |
drivers: usb: gadget: Correct NULL pointer checking in fsl gadget
Correct NULL pointer checking for endpoint descriptor
before it gets dereferenced
Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
Change-Id: I449d00d49f2ae842aa256907021b95b7885ccaf5
Reviewed-on: http://git.am.freescale.net:8181/37641
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'drivers/usb/gadget/fusb300_udc.c')
0 files changed, 0 insertions, 0 deletions