lkml.org 
[lkml]   [2019]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] crypto: cavium remove casting dma_alloc
From
From: Vasyl Gomonovych <gomonovych@gmail.com>
Date: Sun, 23 Jun 2019 22:48:49 +0200

> @@ -233,7 +233,7 @@ static int alloc_command_queues(struct cpt_vf *cptvf,
>
> c_size = (rem_q_size > qcsize_bytes) ? qcsize_bytes :
> rem_q_size;
> - curr->head = (u8 *)dma_alloc_coherent(&pdev->dev,
> + curr->head = dma_alloc_coherent(&pdev->dev,
> c_size + CPT_NEXT_CHUNK_PTR_SIZE,
> &curr->dma_addr,
> GFP_KERNEL);

Please fix up the indentation of the 2nd, 3rd, and 4th line of the call
if you do this. Each of those lines should start precisely at the
first column after the openning parenthesis of the first line.

Thank you.

\
 
 \ /
  Last update: 2019-06-23 23:34    [W:0.031 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site