Hello.
On 13-01-2014 17:26, Andrzej Pietrasiewicz wrote:
ffs_dev->ffs_release_dev_callback should be accessed only if ffs_dev
is not NULL.
Additionally whitespace error correction.
Signed-off-by: Andrzej Pietrasiewicz <[email protected]>
---
drivers/usb/gadget/f_fs.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c
index 306a2b5..f0c657d 100644
--- a/drivers/usb/gadget/f_fs.c
+++ b/drivers/usb/gadget/f_fs.c
@@ -2509,7 +2509,7 @@ static int _ffs_name_dev(struct ffs_dev *dev, const char
*name)
existing = _ffs_find_dev(name);
if (existing)
return -EBUSY;
-
+
dev->name = name;
return 0;
Unrelated whitespace change, even in the different function. This
classifies as a cleanup, not fix.
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html