Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84767
b: refs/heads/master
c: 6433471
h: refs/heads/master
i:
  84765: 5054f94
  84763: 49ebae2
  84759: a671ca8
  84751: b1ccacc
  84735: 73d5043
v: v3
  • Loading branch information
Haavard Skinnemoen authored and Linus Torvalds committed Feb 8, 2008
1 parent 162c94e commit 7c37f75
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: a66706158d6bc4d9eb29c37852001f78f4c8989c
refs/heads/master: 6433471d33c09d69d029b1c4b7bdd1612c492587
3 changes: 2 additions & 1 deletion trunk/drivers/serial/atmel_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,8 @@ static int __devinit atmel_serial_probe(struct platform_device *pdev)

if (!atmel_use_dma_rx(&port->uart)) {
ret = -ENOMEM;
data = kmalloc(ATMEL_SERIAL_RINGSIZE, GFP_KERNEL);
data = kmalloc(sizeof(struct atmel_uart_char)
* ATMEL_SERIAL_RINGSIZE, GFP_KERNEL);
if (!data)
goto err_alloc_ring;
port->rx_ring.buf = data;
Expand Down

0 comments on commit 7c37f75

Please sign in to comment.