Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325690
b: refs/heads/master
c: a92098a
h: refs/heads/master
v: v3
  • Loading branch information
Fengguang Wu authored and Greg Kroah-Hartman committed Aug 16, 2012
1 parent 9febc7d commit 5bbb5f2
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 221ca778d677c5ec3a33385a3b6dd548174252a6
refs/heads/master: a92098a1cb7ec08c86d1b97d1831d8edaf26b1a2
4 changes: 4 additions & 0 deletions trunk/drivers/tty/serial/pch_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,10 @@ static unsigned int dma_handle_tx(struct eg20t_port *priv)
priv->tx_dma_use = 1;

priv->sg_tx_p = kzalloc(sizeof(struct scatterlist)*num, GFP_ATOMIC);
if (!priv->sg_tx_p) {
dev_err(priv->port.dev, "%s:kzalloc Failed\n", __func__);
return 0;
}

sg_init_table(priv->sg_tx_p, num); /* Initialize SG table */
sg = priv->sg_tx_p;
Expand Down

0 comments on commit 5bbb5f2

Please sign in to comment.