Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc62f816 authored by Eisha Chen-yen-su's avatar Eisha Chen-yen-su Committed by Greg Kroah-Hartman
Browse files

staging: comedi: Remove a newline inside a dereference



Remove a new line inside a dereference so that it is not on
multiple lines.
And avoid making the line go over 80 columns by moving the whole
dma_alloc_coherent() call back 4 columns. Problem found with
checkpatch.

Signed-off-by: default avatarEisha Chen-yen-su <chenyensu0@gmail.com>
Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f782497c
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -1490,8 +1490,7 @@ static int alloc_and_init_dma_members(struct comedi_device *dev)
			devpriv->ao_buffer[i] =
			    dma_alloc_coherent(&pcidev->dev,
					       DMA_BUFFER_SIZE,
						   &devpriv->
						   ao_buffer_bus_addr[i],
					       &devpriv->ao_buffer_bus_addr[i],
					       GFP_KERNEL);
			if (!devpriv->ao_buffer[i])
				return -ENOMEM;