aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorAnton Vasilyev <vasilyev@ispras.ru>2018-08-07 14:44:48 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-08-29 10:00:22 +0300
commitc37bd52836296ecc9a0fc8060b819089aebdbcde (patch)
treee04d6148217318c851cab7f251327ecdd43f3648 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdec3c23c9aa1815f07d98ae0375b4cbc10971e13 (diff)
usb: gadget: fotg210-udc: Fix memory leak of fotg210->ep[i]
There is no deallocation of fotg210->ep[i] elements, allocated at fotg210_udc_probe. The patch adds deallocation of fotg210->ep array elements and simplifies error path of fotg210_udc_probe(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions