Re: [PATCH 10/14] HID: i2c-hid: reorder allocation/free of buffers

2012-12-05 Thread Benjamin Tissoires
On Wed, Dec 5, 2012 at 11:10 AM, Jean Delvare wrote: > On Tue, 4 Dec 2012 16:27:51 +0100, Benjamin Tissoires wrote: >> Simplifies i2c_hid_alloc_buffers tests, and makes this function >> responsible of the assignment of ihid->bufsize. >> The condition for the reallocation in i2c_hid_start is then

Re: [PATCH 10/14] HID: i2c-hid: reorder allocation/free of buffers

2012-12-05 Thread Jean Delvare
On Tue, 4 Dec 2012 16:27:51 +0100, Benjamin Tissoires wrote: > Simplifies i2c_hid_alloc_buffers tests, and makes this function > responsible of the assignment of ihid->bufsize. > The condition for the reallocation in i2c_hid_start is then simpler. > > Signed-off-by: Benjamin Tissoires > --- >

Re: [PATCH 10/14] HID: i2c-hid: reorder allocation/free of buffers

2012-12-05 Thread Jean Delvare
On Tue, 4 Dec 2012 16:27:51 +0100, Benjamin Tissoires wrote: Simplifies i2c_hid_alloc_buffers tests, and makes this function responsible of the assignment of ihid-bufsize. The condition for the reallocation in i2c_hid_start is then simpler. Signed-off-by: Benjamin Tissoires

Re: [PATCH 10/14] HID: i2c-hid: reorder allocation/free of buffers

2012-12-05 Thread Benjamin Tissoires
On Wed, Dec 5, 2012 at 11:10 AM, Jean Delvare kh...@linux-fr.org wrote: On Tue, 4 Dec 2012 16:27:51 +0100, Benjamin Tissoires wrote: Simplifies i2c_hid_alloc_buffers tests, and makes this function responsible of the assignment of ihid-bufsize. The condition for the reallocation in