lkml.org 
[lkml]   [2021]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/4] crypto: hisilicon/zip - support new 'sqe' type in Kunpeng930
On Fri, Mar 19, 2021 at 03:33:07PM +0800, Yang Shen wrote:
>
> +const struct hisi_zip_sqe_ops hisi_zip_ops_v2 = {
> + .sqe_type = 0x3,
> + .fill_addr = hisi_zip_fill_addr,
> + .fill_buf_size = hisi_zip_fill_buf_size,
> + .fill_buf_type = hisi_zip_fill_buf_type,
> + .fill_req_type = hisi_zip_fill_req_type,
> + .fill_tag = hisi_zip_fill_tag_v2,
> + .fill_sqe_type = hisi_zip_fill_sqe_type,
> + .get_tag = hisi_zip_get_tag_v2,
> + .get_status = hisi_zip_get_status,
> + .get_dstlen = hisi_zip_get_dstlen,
> +};
> +

This triggers a new warning:

CHECK ../drivers/crypto/hisilicon/zip/zip_crypto.c
../drivers/crypto/hisilicon/zip/zip_crypto.c:527:31: warning: symbol 'hisi_zip_ops_v1' was not declared. Should it be static?
../drivers/crypto/hisilicon/zip/zip_crypto.c:540:31: warning: symbol 'hisi_zip_ops_v2' was not declared. Should it be static?

Please fix. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

\
 
 \ /
  Last update: 2021-03-26 10:16    [W:0.370 / U:0.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site