[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1482054265.2431.1.camel@perches.com>
Date: Sun, 18 Dec 2016 01:44:25 -0800
From: Joe Perches <joe@...ches.com>
To: Devendra Sharma <devendra.sharma9091@...il.com>, abbotti@....co.uk
Cc: hsweeten@...ionengravers.com, gregkh@...uxfoundation.org,
ansonjacob.aj@...il.com, amitoj1606@...il.com,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Staging:comedi:cb_pcidas64=>Fixed checkpatch warnings
On Sun, 2016-12-18 at 15:06 +0530, Devendra Sharma wrote:
> From: devendra sharma <devendra.sharma9091@...il.com>
[]
> diff --git a/drivers/staging/comedi/drivers/cb_pcidas64.c b/drivers/staging/comedi/drivers/cb_pcidas64.c
[]
> @@ -1500,10 +1500,9 @@ static int alloc_and_init_dma_members(struct comedi_device *dev)
> if (ao_cmd_is_supported(board)) {
> devpriv->ao_buffer[i] =
> dma_alloc_coherent(&pcidev->dev,
> - DMA_BUFFER_SIZE,
> - &devpriv->
> - ao_buffer_bus_addr[i],
> - GFP_KERNEL);
> + DMA_BUFFER_SIZE,
> + &devpriv->ao_buffer_bus_addr[i],
> + GFP_KERNEL);
> if (!devpriv->ao_buffer[i])
> return -ENOMEM;
> }
Please just exceed 80 columns instead.
dma_alloc_coherent(&pcidev->dev,
DMA_BUFFER_SIZE,
&devpriv->ao_buffer_bus_addr[i],
GFP_KERNEL);
etc...
Powered by blists - more mailing lists