Re: umidi(4) alloc_all_endpoints_fixed_ep()

2018-09-06 Thread Martin Pieuchot
On 06/09/18(Thu) 23:01, Michael Mikonos wrote: > Hello, > > In the umidi(4) driver the function alloc_all_endpoints_fixed_ep() > returns USBD_NOMEM if mallocarray() fails, but the return value is > always USBD_INVAL when 'goto error' happens. OK? Note that it'd be better to *not* use

umidi(4) alloc_all_endpoints_fixed_ep()

2018-09-06 Thread Michael Mikonos
Hello, In the umidi(4) driver the function alloc_all_endpoints_fixed_ep() returns USBD_NOMEM if mallocarray() fails, but the return value is always USBD_INVAL when 'goto error' happens. OK? - Michael Index: umidi.c === RCS file: