Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227028
b: refs/heads/master
c: ac563cf
h: refs/heads/master
v: v3
  • Loading branch information
Matthew Wilcox authored and Greg Kroah-Hartman committed Dec 15, 2010
1 parent 1d455dc commit 3ed7f7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 4400ef311e10666a2e5acf97d040df89cb880cb2
refs/heads/master: ac563cfd528033ee6e3bb4801b5c73468d0145c8
4 changes: 2 additions & 2 deletions trunk/drivers/usb/storage/uas.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ static struct urb *uas_alloc_sense_urb(struct uas_dev_info *devinfo, gfp_t gfp,
if (!urb)
goto out;

iu = kmalloc(sizeof(*iu), gfp);
iu = kzalloc(sizeof(*iu), gfp);
if (!iu)
goto free;

Expand Down Expand Up @@ -328,7 +328,7 @@ static struct urb *uas_alloc_cmd_urb(struct uas_dev_info *devinfo, gfp_t gfp,
if (len < 0)
len = 0;
len = ALIGN(len, 4);
iu = kmalloc(sizeof(*iu) + len, gfp);
iu = kzalloc(sizeof(*iu) + len, gfp);
if (!iu)
goto free;

Expand Down

0 comments on commit 3ed7f7a

Please sign in to comment.