Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228014
b: refs/heads/master
c: 9dd5f27
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Schilman authored and Greg Kroah-Hartman committed Nov 9, 2010
1 parent 32bc2ec commit 0e3ccc9
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: b5ef076141acc223e55aa298abd2d2f5fb844874
refs/heads/master: 9dd5f271441bbe85578c2b7841820d8bca26096c
4 changes: 2 additions & 2 deletions trunk/drivers/staging/frontier/alphatrack.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ static int debug = ALPHATRACK_DEBUG;

/* Use our own dbg macro */
#define dbg_info(dev, format, arg...) do \
{ if (debug) dev_info(dev , format , ## arg); } while (0)
{ if (debug) dev_info(dev , format , ## arg); } while (0)

#define alphatrack_ocmd_info(dev, cmd, format, arg...)

Expand Down Expand Up @@ -769,7 +769,7 @@ static int usb_alphatrack_probe(struct usb_interface *intf,
}

dev->write_buffer =
kmalloc(sizeof(struct alphatrack_ocmd) * true_size, GFP_KERNEL);
kmalloc(true_size * sizeof(struct alphatrack_ocmd), GFP_KERNEL);

if (!dev->write_buffer) {
dev_err(&intf->dev, "Couldn't allocate write_buffer\n");
Expand Down

0 comments on commit 0e3ccc9

Please sign in to comment.