Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1921506pxf; Fri, 26 Mar 2021 20:10:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDqRnFiOtIwPtWu97FtBEV7BWJ5kypshlBDeFsjx1ohwpxfryreY9AJGTrz2AUg4wnLLh7 X-Received: by 2002:a17:907:e87:: with SMTP id ho7mr18098908ejc.2.1616814640344; Fri, 26 Mar 2021 20:10:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616814640; cv=none; d=google.com; s=arc-20160816; b=mBABYkxzcRRu88D0ubxRa3Ynev118+oY2AvVC8NUgDoRKrlqsmph2N7Yi63OUzcz2u itPloXPFbd3GsEZdWWHz6lbEmErZmWx4FRiMf3tjgOWVOU5qF1xKFDQkN3bLcn/o7N8m p9rhGju9qkHBQ2jqTRJLHSMI3U2HlgsIjylmHpv2jDaE1rEnb3dwuMSQ/OCLYZTX96u/ 15sfs43hVC0fcUAfeGckN7jJ54NXMCQ1psX+WjoSyJE1TJT01iAWYpHi7Za+YetiIPKe R3atCKXX+YY6aGq/mm771e47ErQUhIa/XPBgLuA0UOOX3vpaGk0Cu5iIa9SBxSIGlu2c O+iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=n8oGKBEJoyQAxPkDH1YM5KBQ+XkJiYqYwYC+oXvfMDc=; b=pn+xNE3rGKxts3LvEkb+EeZ3sIdbmc/4NHW2W+NmaC4xdr5/f90Obd52eUKA4SJgyh qsZS8cXSznbeo04bO5tWu2upWrMupfYhb3ykpI1Dmls+fcxv94kfDtxw5hbRUa2trgQT 3Fj7X7cJSmbA538pvatQelw7EeSaOf20s+LQCaz7vxAqZlUwqKu8gZJiJE4YoNQfX4+f 8ALLf1iycuk2Ql4HHdp7OXszZvfQowJ2XSfqDoNAKoVgsrSvAQumBTNnXWp1hvBkkv9C 0xViZtcgPi4ODogcB2exyCgirZOqGkhNm9v3eL+c2gRhr1Ix1qmwFeBvbZyfYDGYI4rw Jpxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b16si8276381eds.502.2021.03.26.20.10.15; Fri, 26 Mar 2021 20:10:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230233AbhC0DA3 (ORCPT + 99 others); Fri, 26 Mar 2021 23:00:29 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:14153 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229880AbhC0C77 (ORCPT ); Fri, 26 Mar 2021 22:59:59 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4F6k5v4jZkznZQW; Sat, 27 Mar 2021 10:57:23 +0800 (CST) Received: from [127.0.0.1] (10.69.38.207) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.498.0; Sat, 27 Mar 2021 10:59:49 +0800 Subject: Re: [PATCH 4/4] crypto: hisilicon/zip - support new 'sqe' type in Kunpeng930 To: Herbert Xu References: <1616139187-63425-1-git-send-email-shenyang39@huawei.com> <1616139187-63425-5-git-send-email-shenyang39@huawei.com> <20210326091457.GA1153@gondor.apana.org.au> CC: , , , From: "shenyang (M)" Message-ID: <833da1eb-0277-8466-23dc-15533eafbd8f@huawei.com> Date: Sat, 27 Mar 2021 10:59:49 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <20210326091457.GA1153@gondor.apana.org.au> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.69.38.207] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/3/26 17:14, Herbert Xu wrote: > 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. > Sorry, I'll fix this in next version. Thanks.