Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299424
b: refs/heads/master
c: 92b0abf
h: refs/heads/master
v: v3
  • Loading branch information
Andrzej Pietrasiewicz authored and Felipe Balbi committed Apr 10, 2012
1 parent c18a054 commit 857c635
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6190c79df861d2c78a7448fe6d4260e5fa53b9b9
refs/heads/master: 92b0abf80c5c5f0e0d71d1309688a330fd74731b
2 changes: 1 addition & 1 deletion trunk/drivers/usb/gadget/f_fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ static long ffs_ep0_ioctl(struct file *file, unsigned code, unsigned long value)
if (code == FUNCTIONFS_INTERFACE_REVMAP) {
struct ffs_function *func = ffs->func;
ret = func ? ffs_func_revmap_intf(func, value) : -ENODEV;
} else if (gadget->ops->ioctl) {
} else if (gadget && gadget->ops->ioctl) {
ret = gadget->ops->ioctl(gadget, code, value);
} else {
ret = -ENOTTY;
Expand Down

0 comments on commit 857c635

Please sign in to comment.