public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] avoid use of freed pointer
@ 2017-02-13 15:37 Gustavo A. R. Silva
  2017-02-13 15:40 ` [PATCH 1/2] usb: gadget: udc: " Gustavo A. R. Silva
  2017-02-13 15:40 ` [PATCH 2/2] usb: gadget: udc: remove unnecessary variable and update function prototype Gustavo A. R. Silva
  0 siblings, 2 replies; 11+ messages in thread
From: Gustavo A. R. Silva @ 2017-02-13 15:37 UTC (permalink / raw)
  To: balbi, gregkh, bhelgaas, mina86, heikki.krogerus
  Cc: linux-geode, linux-usb, linux-kernel

Hello,

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.

Thanks

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

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

-- 
2.5.0

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-04-05 12:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-13 15:37 [PATCH 0/2] avoid use of freed pointer Gustavo A. R. Silva
2017-02-13 15:40 ` [PATCH 1/2] usb: gadget: udc: " Gustavo A. R. Silva
2017-02-13 16:06   ` Michal Nazarewicz
2017-02-14 21:53     ` Gustavo A. R. Silva
2017-02-14 21:58       ` [PATCH v2 " Gustavo A. R. Silva
2017-02-14 22:03         ` [PATCH v2 2/2] usb: gadget: udc: remove unnecessary variable and update function prototype Gustavo A. R. Silva
2017-04-04  4:28       ` [PATCH v2 1/2] usb: gadget: udc: avoid use of freed pointer Gustavo A. R. Silva
2017-04-04  4:34         ` [PATCH v2 2/2] usb: gadget: udc: remove unnecessary variable and update function prototype Gustavo A. R. Silva
2017-04-05 12:32         ` [PATCH v2 1/2] usb: gadget: udc: avoid use of freed pointer Felipe Balbi
2017-02-13 15:40 ` [PATCH 2/2] usb: gadget: udc: remove unnecessary variable and update function prototype Gustavo A. R. Silva
2017-02-13 16:07   ` Michal Nazarewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox