Re: [PATCH] USB: gadget: f_fs: fix error handling

2013-09-27 Thread Sergei Shtylyov
Hello. On 09/27/2013 02:28 PM, Robert Baldyga wrote: This patch add missing error check in ffs_func_bind() function, after ffs_do_descs() funcion call for hs descriptors. Without this check it's s/funcion/function/. Perhaps it's worth expanding "hs" to "high speed" for clarity? possib

Re: [PATCH] USB: gadget: f_fs: fix error handling

2013-09-27 Thread Michal Nazarewicz
On Fri, Sep 27 2013, Robert Baldyga wrote: > This patch add missing error check in ffs_func_bind() function, after > ffs_do_descs() funcion call for hs descriptors. Without this check it's > possible that the module will try dereference incorrect pointer. > > Signed-off-by: Robert Baldyga Acked-b

[PATCH] USB: gadget: f_fs: fix error handling

2013-09-27 Thread Robert Baldyga
This patch add missing error check in ffs_func_bind() function, after ffs_do_descs() funcion call for hs descriptors. Without this check it's possible that the module will try dereference incorrect pointer. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/f_fs.c |3 +++ 1 file changed, 3