[PATCH 0/2] avoid use of freed pointer

From: Gustavo A. R. Silva
Date: Mon Feb 13 2017 - 10:38:23 EST


This patch series addesses Coverity ID 1091172, which reports the
use of a freed pointer. udc_free_dma_chain() function was rewritten
in order to fix this issue.

Unnecessary 'ret_val' variable was removed and the function prototype
was modified.


Gustavo A. R. Silva (2):
usb: gadget: udc: avoid use of freed pointer
usb: gadget: udc: remove unnecessary variable and update function

drivers/usb/gadget/udc/amd5536udc.c | 25 ++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)