crypto: chelsio - fix a type cast error
fix a type cast error for queue descriptor Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Atul Gupta <atul.gupta@chelsio.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
144f3d18a2
commit
209c14bfb3
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ inline void *copy_key_cpltx_pktxt(struct sk_buff *skb,
|
|||
memcpy(pos, sa_entry->key, left);
|
||||
memcpy(q->q.desc, sa_entry->key + left,
|
||||
key_len - left);
|
||||
pos = q->q.desc + (key_len - left);
|
||||
pos = (u8 *)q->q.desc + (key_len - left);
|
||||
}
|
||||
}
|
||||
/* Copy CPL TX PKT XT */
|
||||
|
|
Loading…
Reference in a new issue