Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233131
b: refs/heads/master
c: a283c03
h: refs/heads/master
i:
  233129: 24f3106
  233127: ee471a3
v: v3
  • Loading branch information
Jesper Juhl authored and Greg Kroah-Hartman committed Feb 4, 2011
1 parent bd6941d commit 1932a62
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 8cf28f1f4de58c70e6af657bb46ca8f304c073d4
refs/heads/master: a283c03a3a7a8cd3f8836ffd1b1d6cc8f778492c
3 changes: 2 additions & 1 deletion trunk/drivers/usb/gadget/f_mass_storage.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@

#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>
#include <linux/usb/composite.h>

#include "gadget_chips.h"

Expand Down Expand Up @@ -2763,7 +2764,7 @@ static struct fsg_common *fsg_common_init(struct fsg_common *common,
return ERR_PTR(-ENOMEM);
common->free_storage_on_release = 1;
} else {
memset(common, 0, sizeof common);
memset(common, 0, sizeof *common);
common->free_storage_on_release = 0;
}

Expand Down

0 comments on commit 1932a62

Please sign in to comment.