Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208048
b: refs/heads/master
c: 76be932
h: refs/heads/master
v: v3
  • Loading branch information
Kulikov Vasiliy authored and Greg Kroah-Hartman committed Aug 10, 2010
1 parent 6f4ced7 commit a01b101
Show file tree
Hide file tree
Showing 2 changed files with 5 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: a93917d39fc388c4761d2530af82513e2d3bf9f6
refs/heads/master: 76be932af17ddebac1b4e3dd2565a0519eaa29ce
5 changes: 4 additions & 1 deletion trunk/drivers/usb/host/sl811-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -813,8 +813,11 @@ static int sl811h_urb_enqueue(
#endif

/* avoid all allocations within spinlocks */
if (!hep->hcpriv)
if (!hep->hcpriv) {
ep = kzalloc(sizeof *ep, mem_flags);
if (ep == NULL)
return -ENOMEM;
}

spin_lock_irqsave(&sl811->lock, flags);

Expand Down

0 comments on commit a01b101

Please sign in to comment.