[PATCH RESEND] usb: gadget: atmel: use calloc() to allocate endpoint list

Marek Vasut marek.vasut at mailbox.org
Fri Jun 5 16:30:47 CEST 2026


On 6/5/26 1:19 PM, Zixun LI wrote:
> malloc() doesn't zero out memory, leaving ep->ep.enabled uninitiated.
... and that is a problem because ?

The _WHY_ part should be included in the commit message. Why is this 
change needed ? What does it fix ?


More information about the U-Boot mailing list