Re: [PATCH v7 0/4] libusbg: clean up and error handling

2014-04-03 Thread Matt Porter
On Fri, Jan 24, 2014 at 03:30:58PM +0100, Stanislaw Wadas wrote: In reference to the message sent by Andrzej Pietrasiewicz (about libusbg (formerly libgadget)) I would like to propose some changes to libusbg. Creating directories is now performed after successful memory allocation and

[PATCH v7 0/4] libusbg: clean up and error handling

2014-01-24 Thread Stanislaw Wadas
In reference to the message sent by Andrzej Pietrasiewicz (about libusbg (formerly libgadget)) I would like to propose some changes to libusbg. Creating directories is now performed after successful memory allocation and gadget function creation. Hard coded values are replaced with constants.