Re: [PATCH v2] can: mcba_usb: Fix memory leak when cancelling urb

2021-01-11 Thread Minh Bùi Quang
On Mon, Jan 11, 2021 at 9:31 PM Bui Quang Minh wrote: > > On Mon, Jan 11, 2021 at 01:00:31PM +0100, Oliver Neukum wrote: > > Am Montag, den 11.01.2021, 10:49 + schrieb Bui Quang Minh: > > > In mcba_usb_read_bulk_callback(), when we don't resubmit or fails to > > > resubmit the urb, we need to

Re: [PATCH] USB: dummy-hcd: Fix uninitialized array use in init()

2020-12-05 Thread Minh Bùi Quang
Vào Th 6, 4 thg 12, 2020 vào lúc 23:12 Alan Stern đã viết: > Does this initialization end up using less memory than an explicit > memset() call? You mean speed? In my opinion, there is no difference in speed between 2 ways. When I compile this array initialization using gcc 5.4.0, this initial