Re: [PATCH] usb/gadget: FunctionFS: Fix enable multiple instances

2013-03-11 Thread Michal Nazarewicz
On Mon, Mar 11 2013, Andrzej Pietrasiewicz wrote: > This patch fixes an "off-by-one" bug found in > 581791f5c7a480b2cc3431af9a6e799ffd51eb5e. > During gfs_bind/gfs_unbind the functionfs_bind/functionfs_unbind should be > called for every functionfs instance. With the "i" pre-decremented they > were

[PATCH] usb/gadget: FunctionFS: Fix enable multiple instances

2013-03-11 Thread Andrzej Pietrasiewicz
This patch fixes an "off-by-one" bug found in 581791f5c7a480b2cc3431af9a6e799ffd51eb5e. During gfs_bind/gfs_unbind the functionfs_bind/functionfs_unbind should be called for every functionfs instance. With the "i" pre-decremented they were not called for the zeroth instance. Signed-off-by: Andrzej