@@ -391,15 +391,15 @@ static inline void dsgl_walk_end(struct dsgl_walk *walk, unsigned short qid,
391
391
392
392
static inline void dsgl_walk_add_page (struct dsgl_walk * walk ,
393
393
size_t size ,
394
- dma_addr_t * addr )
394
+ dma_addr_t addr )
395
395
{
396
396
int j ;
397
397
398
398
if (!size )
399
399
return ;
400
400
j = walk -> nents ;
401
401
walk -> to -> len [j % 8 ] = htons (size );
402
- walk -> to -> addr [j % 8 ] = cpu_to_be64 (* addr );
402
+ walk -> to -> addr [j % 8 ] = cpu_to_be64 (addr );
403
403
j ++ ;
404
404
if ((j % 8 ) == 0 )
405
405
walk -> to ++ ;
@@ -473,16 +473,16 @@ static inline void ulptx_walk_end(struct ulptx_walk *walk)
473
473
474
474
static inline void ulptx_walk_add_page (struct ulptx_walk * walk ,
475
475
size_t size ,
476
- dma_addr_t * addr )
476
+ dma_addr_t addr )
477
477
{
478
478
if (!size )
479
479
return ;
480
480
481
481
if (walk -> nents == 0 ) {
482
482
walk -> sgl -> len0 = cpu_to_be32 (size );
483
- walk -> sgl -> addr0 = cpu_to_be64 (* addr );
483
+ walk -> sgl -> addr0 = cpu_to_be64 (addr );
484
484
} else {
485
- walk -> pair -> addr [walk -> pair_idx ] = cpu_to_be64 (* addr );
485
+ walk -> pair -> addr [walk -> pair_idx ] = cpu_to_be64 (addr );
486
486
walk -> pair -> len [walk -> pair_idx ] = cpu_to_be32 (size );
487
487
walk -> pair_idx = !walk -> pair_idx ;
488
488
if (!walk -> pair_idx )
@@ -2481,7 +2481,7 @@ void chcr_add_aead_src_ent(struct aead_request *req,
2481
2481
ulptx_walk_init (& ulp_walk , ulptx );
2482
2482
if (reqctx -> b0_len )
2483
2483
ulptx_walk_add_page (& ulp_walk , reqctx -> b0_len ,
2484
- & reqctx -> b0_dma );
2484
+ reqctx -> b0_dma );
2485
2485
ulptx_walk_add_sg (& ulp_walk , req -> src , req -> cryptlen +
2486
2486
req -> assoclen , 0 );
2487
2487
ulptx_walk_end (& ulp_walk );
@@ -2500,7 +2500,7 @@ void chcr_add_aead_dst_ent(struct aead_request *req,
2500
2500
u32 temp ;
2501
2501
2502
2502
dsgl_walk_init (& dsgl_walk , phys_cpl );
2503
- dsgl_walk_add_page (& dsgl_walk , IV + reqctx -> b0_len , & reqctx -> iv_dma );
2503
+ dsgl_walk_add_page (& dsgl_walk , IV + reqctx -> b0_len , reqctx -> iv_dma );
2504
2504
temp = req -> assoclen + req -> cryptlen +
2505
2505
(reqctx -> op ? - authsize : authsize );
2506
2506
dsgl_walk_add_sg (& dsgl_walk , req -> dst , temp , 0 );
@@ -2571,7 +2571,7 @@ void chcr_add_hash_src_ent(struct ahash_request *req,
2571
2571
ulptx_walk_init (& ulp_walk , ulptx );
2572
2572
if (param -> bfr_len )
2573
2573
ulptx_walk_add_page (& ulp_walk , param -> bfr_len ,
2574
- & reqctx -> hctx_wr .dma_addr );
2574
+ reqctx -> hctx_wr .dma_addr );
2575
2575
ulptx_walk_add_sg (& ulp_walk , reqctx -> hctx_wr .srcsg ,
2576
2576
param -> sg_len , reqctx -> hctx_wr .src_ofst );
2577
2577
reqctx -> hctx_wr .srcsg = ulp_walk .last_sg ;
0 commit comments