Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206059
b: refs/heads/master
c: d49d0e3
h: refs/heads/master
i:
  206057: b05a06f
  206055: eff257d
v: v3
  • Loading branch information
Kulikov Vasiliy authored and Greg Kroah-Hartman committed Aug 3, 2010
1 parent e2221f8 commit d05b3b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 94f5659cfa4f14ba901fbbb8a57d0145754d0d37
refs/heads/master: d49d0e39a09209d0136c7da2a1a52e99af2d4656
5 changes: 5 additions & 0 deletions trunk/drivers/staging/otus/wrap_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ u32_t zfwUsbSubmitControl(zdev_t *dev, u8_t req, u16_t value, u16_t index,

if (size > 0) {
buf = kmalloc(size, GFP_KERNEL);
if (buf == NULL) {
pr_err("zfwUsbSubmitControl() failed, "
"kmalloc() returned NULL\n");
return 1;
}
memcpy(buf, (u8_t *)data, size);
} else
buf = NULL;
Expand Down

0 comments on commit d05b3b5

Please sign in to comment.