staging: vt6655: Break up function call with long line.
Update matches style found elsewhere in file. Issue found by checkpatch: line over 80 characters. Signed-off-by: Briana Oursler <briana.oursler@gmail.com> Link: https://lore.kernel.org/r/20200324183812.79411-1-briana.oursler@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4a1a3e9bf5
commit
73d854226a
@ -443,7 +443,10 @@ static bool device_init_rings(struct vnt_private *priv)
|
||||
|
||||
/*allocate all RD/TD rings a single pool*/
|
||||
vir_pool = dma_alloc_coherent(&priv->pcid->dev,
|
||||
priv->opts.rx_descs0 * sizeof(struct vnt_rx_desc) + priv->opts.rx_descs1 * sizeof(struct vnt_rx_desc) + priv->opts.tx_descs[0] * sizeof(struct vnt_tx_desc) + priv->opts.tx_descs[1] * sizeof(struct vnt_tx_desc),
|
||||
priv->opts.rx_descs0 * sizeof(struct vnt_rx_desc) +
|
||||
priv->opts.rx_descs1 * sizeof(struct vnt_rx_desc) +
|
||||
priv->opts.tx_descs[0] * sizeof(struct vnt_tx_desc) +
|
||||
priv->opts.tx_descs[1] * sizeof(struct vnt_tx_desc),
|
||||
&priv->pool_dma, GFP_ATOMIC);
|
||||
if (!vir_pool) {
|
||||
dev_err(&priv->pcid->dev, "allocate desc dma memory failed\n");
|
||||
|
Loading…
Reference in New Issue
Block a user