Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp794780pxr; Mon, 11 Apr 2022 07:25:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6AZoqqnkqaaA7IyBd74LDzgNXQdfuCZ1FsNnVeC2rg7xr8AB6zFK1wZhwaUrb8Oy/R7O8 X-Received: by 2002:a05:6402:9:b0:419:3c6e:b0d5 with SMTP id d9-20020a056402000900b004193c6eb0d5mr33664931edu.216.1649687114590; Mon, 11 Apr 2022 07:25:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649687114; cv=none; d=google.com; s=arc-20160816; b=UUV32NV4Tz4JEF3KTpRgWH2BGZJfYeOQVwcSVhG0StjRA6eVNJCgyASrlkFG5Zq3Ea x9LuDPKldYNfMhvQ8PaqxRlfympkiCxoOvuu8/i16DQDqEbwSJTmFuidKd4zngi+3J3T NZpXG9WJDX3sjJEvpVHgHdQSNNm0YuLbMoAUPZSl+y23rOFNkXcLeA/dr290caalQTJQ 3J6Lewywff1ybTF8BBhwsHBBybQlWf8HGWdNAzfRFSaiVNa/5JwxXNpGZVha7lF9Kbxb tp7gmxkCAZb01FbTsl+DRw8rvOA92wEcTMu38fcttgHXG7Squw1P+IfB8Zae6VPVJWF0 Inyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=IIglzTc9CTpa+hK9f5neg8B7wHkEZ89iCIZigXIhaEA=; b=F49MFm9+9ucZJNOkwdIxRuuv73N0NACIJqR1k2IIt/4bJJOUi3yc2MiTBhbw7uDUMm kJo5O+gYoAjFOg0RJF9WLtjRPPUs/xOmrXUx2ao0fqdwAhMm6h3hRN/Wdh7tkF3OM4Zj 7mcgfv8X7PEhBo4Vv66hYteG7tBtHoYgSk8wgAZqo3qbsByighFkW8+6xY62dRvz4J7u 2Z8waJFuCBF25nSp99InebB1VHuxnE5cw1LabhF69qor12Z0ekSdDh9VStdTBqv+b13i OA0kwzD4+8EeYljVPNIqRL3ulyGrd+2ilFY7f7Gq+OmpTO8A8C0ay/7kIp/fX+7GOh6o 2mEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=Ul8XQ3zh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id se3-20020a170906ce4300b006e88f47a5easi2303163ejb.561.2022.04.11.07.24.48; Mon, 11 Apr 2022 07:25:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=Ul8XQ3zh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241714AbiDJTrP (ORCPT + 99 others); Sun, 10 Apr 2022 15:47:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233614AbiDJTrM (ORCPT ); Sun, 10 Apr 2022 15:47:12 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E44D5D5F2; Sun, 10 Apr 2022 12:44:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1649619888; bh=0b150G6BrvAci/6qIgV9dOcDSR6KYc3RHxHU8xPDus0=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=Ul8XQ3zhOwkrGvPbXl6Qh1pCcpgTgQ0urdJ//KTpUQxLlPkTei9THqUxK1Llt2qbM IGaD4+ECMNxsy+lINyxo6QJSWVRF4oBwSpXCKjzmKVNizOgm83eBy2GuckgF0wHyM5 TwMX5WNcR86XK5x2LA6W/lY3gUi/fPne0t5MpDNM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.0.33] ([46.223.3.230]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mt79P-1nxNCT0dwX-00tPw9; Sun, 10 Apr 2022 21:44:48 +0200 Subject: Re: [PATCH 5/5] tpm: tpm_tis_spi_slb_9670: implement set_reset and unset_reset functions To: Lukas Wunner Cc: peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca, =robh+dt@kernel.org, devicetree@vger.kernel.org, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, stefanb@linux.ibm.com, p.rosenberger@kunbus.com References: <20220407111849.5676-1-LinoSanfilippo@gmx.de> <20220407111849.5676-6-LinoSanfilippo@gmx.de> <20220410171826.GB24453@wunner.de> From: Lino Sanfilippo Message-ID: <1229fbc4-0abd-376e-a9d7-ccdd6d56c2ae@gmx.de> Date: Sun, 10 Apr 2022 21:44:47 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20220410171826.GB24453@wunner.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:mSm71vcc1o0VqmXNuuRUwbw/0qJB1BZH90rQsG55VU+wQkrfCzm 6pMOb4LSwaOycSFvCkcGxMT2vtoKI8dHgBX8DafWOZ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NLQsrqEw4RLX8hGAgjXD3jtYQa3DMGpOX5wt7mhylF6FAFaoGTwqwW6hFMn3Y0LgzaNp/ gIltBiVlDXVFyHdEZlH9KDHPT+lupXTV2QZ+5MPT22pG85Uso40b+y268pziBtCGARaOkQ529 ez3e5EiKKaoVhJjXDVkGs43FcVFfhF+G16wqiJwE77W22B7G+AhFRcUpG97SsZx1C/0un5te0 PBbzspKhssoLAM= X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10.04.22 at 19:18, Lukas Wunner wrote: > On Thu, Apr 07, 2022 at 01:18:49PM +0200, Lino Sanfilippo wrote: >> --- /dev/null >> +++ b/drivers/char/tpm/tpm_tis_spi_slb9670.c > [...] >> +int slb9670_spi_unset_reset(struct tpm_tis_data *data) > [...] >> +int slb9670_spi_set_reset(struct tpm_tis_data *data) > [...] >> +static const struct tpm_tis_phy_ops slb9670_spi_phy_ops =3D { >> + .read_bytes =3D tpm_tis_spi_read_bytes, >> + .write_bytes =3D tpm_tis_spi_write_bytes, >> + .read16 =3D tpm_tis_spi_read16, >> + .read32 =3D tpm_tis_spi_read32, >> + .write32 =3D tpm_tis_spi_write32, >> + .set_reset =3D slb9670_spi_set_reset, >> + .unset_reset =3D slb9670_spi_unset_reset, >> +}; > > 0-day is complaining that slb9670_spi_set_reset() / slb9670_spi_unset_re= set() > are not declared static: > > https://lore.kernel.org/all/202204081357.8SfjQosI-lkp@intel.com/ > > Thanks, > > Lukas > Right, I will fix this in the next version, thanks! Regards, Lino