diff options
author | 2015-03-11 10:07:47 +0800 | |
---|---|---|
committer | 2015-03-11 14:59:10 -0500 | |
commit | 005a64307d5d3ef895e7821df4cad7739bab392e (patch) | |
tree | ecb7e5d25e488216143d204795927ddb6a327515 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: musb: cppi41: fix condition to call cppi41_trans_done(). (diff) | |
download | wireguard-linux-005a64307d5d3ef895e7821df4cad7739bab392e.tar.xz wireguard-linux-005a64307d5d3ef895e7821df4cad7739bab392e.zip |
usb: gadget: lpc32xxx_udc: Fix NULL dereference
udc is then checked for NULL, if NULL, it is then dereferenced as
udc->dev, it is found using Coccinelle.
We simplify the code to fix this problem, and we delete some conditions
at if {} which will never be met.
Reported-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Reported-by : Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions