diff options
author | Peter Chen <[email protected]> | 2016-07-01 15:33:29 +0800 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2016-08-11 15:09:44 +0300 |
commit | 88c09eacf560c3303d0ee8cf91b8b7ff7f000350 (patch) | |
tree | 6d4a5211694e9dca955d25ab390fb26acb543d34 /lib/mpi/mpi-bit.c | |
parent | c526c62d565ea5a5bba9433f28756079734f430d (diff) |
usb: gadget: u_ether: fix dereference after null check coverify warning
dev->port_usb is checked for null pointer at above code, so dev->port_usb
might be null, fix it by adding null pointer check.
Signed-off-by: Peter Chen <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions