diff options
| author | 2019-10-21 18:21:51 +0800 | |
|---|---|---|
| committer | 2019-10-27 08:58:44 +0200 | |
| commit | bc1e3a2dd0c9954fd956ac43ca2876bbea018c01 (patch) | |
| tree | 4a3e85f5b50be56fe905226af3b559812cd3832c /drivers/usb/cdns3/host.c | |
| parent | usb: dwc3: select CONFIG_REGMAP_MMIO (diff) | |
| download | wireguard-linux-bc1e3a2dd0c9954fd956ac43ca2876bbea018c01.tar.xz wireguard-linux-bc1e3a2dd0c9954fd956ac43ca2876bbea018c01.zip | |
usb: fsl: Check memory resource before releasing it
Check memory resource existence before releasing it to avoid NULL
pointer dereference
Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
Reviewed-by: Ran Wang <ran.wang_1@nxp.com>
Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/cdns3/host.c')
0 files changed, 0 insertions, 0 deletions
