Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp281837pxr; Sun, 10 Apr 2022 14:51:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlpwX/g5tqAOp5cFgAQXwLucnJ6brhXvw3X98w6+pwluxHl5PZxQpE3N9OXA9AsJKXzfAD X-Received: by 2002:a17:907:7e82:b0:6e8:92eb:2858 with SMTP id qb2-20020a1709077e8200b006e892eb2858mr1938449ejc.443.1649627480366; Sun, 10 Apr 2022 14:51:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649627480; cv=none; d=google.com; s=arc-20160816; b=H9lL3ev1N+KjUQb7p0BmDqf6BCp8ZmiXuG1nM7S/wxguUNricCzX0fbwjrxpEY2vtZ +tYtaI78ZVNjp+MNWFx0GInz6JrusBmIqPrXdzMkKFZVD2DJO6hxh1DLYo+s++jZ3kWw uhcWOivMLbLPGvA5nMcTWNduCF8AT6qfuZm6NXWOUOcJNAWZ9GdFgb11gWLTN0yGrCc0 4hJxjG9LhJS1lNadjUV7DKnR64yIyv+VcLgBuKi0pqLcMgdU8sZaU0pEB+VOthdWnwkE TDlVyuNwmIz91q8S/MbVi9tzGcV9YwJw3h59RaU5EB4UK37iRvJY+FrNzL/bYP/plhUy siSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=CVbvumN+k1+M4tS/wtr/JzLvJYHuODkbKnW+Ge8rCNM=; b=lNb2/4AVuos8JNU8uetcEj9CXpgf5hRqudFROMejAxbkvFDmvtO0fOlGN+u8PaFBbN emlX18FTT+vyvEu1Y6TvGemuWNImEL1fvzw7i0vvdIWCQ/4Ag7Mcys+vF5jQBxgeQCTO NvM8/RbbK6HA8bQryURtFwYXtG6lUtMaVBbsdKdfT00X2ejE7O+B/anBbA68+YQSSfzL VADTPN7u06fqvkKN7rRwbVoMfaS0ejGkgNvRDI3OF2PaBRF2gOc4S61tsRRJmRHHNfwk Pg/xme/C069EWzkLnDzplN1YvlFUCCb47s3z4rq5kgL9Jdp9ti1oxJyjYIfkawcatse8 nJsg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v15-20020a17090606cf00b006df76385c7dsi1150580ejb.285.2022.04.10.14.50.56; Sun, 10 Apr 2022 14:51:20 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239532AbiDJRUl (ORCPT + 99 others); Sun, 10 Apr 2022 13:20:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232464AbiDJRUk (ORCPT ); Sun, 10 Apr 2022 13:20:40 -0400 Received: from bmailout2.hostsharing.net (bmailout2.hostsharing.net [IPv6:2a01:37:3000::53df:4ef0:0]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD5C760DA6 for ; Sun, 10 Apr 2022 10:18:28 -0700 (PDT) Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.hostsharing.net", Issuer "RapidSSL TLS DV RSA Mixed SHA256 2020 CA-1" (verified OK)) by bmailout2.hostsharing.net (Postfix) with ESMTPS id C1C9F2800A278; Sun, 10 Apr 2022 19:18:26 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id B5498324E0; Sun, 10 Apr 2022 19:18:26 +0200 (CEST) Date: Sun, 10 Apr 2022 19:18:26 +0200 From: Lukas Wunner To: Lino Sanfilippo 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 Subject: Re: [PATCH 5/5] tpm: tpm_tis_spi_slb_9670: implement set_reset and unset_reset functions Message-ID: <20220410171826.GB24453@wunner.de> References: <20220407111849.5676-1-LinoSanfilippo@gmx.de> <20220407111849.5676-6-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220407111849.5676-6-LinoSanfilippo@gmx.de> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 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 = { > + .read_bytes = tpm_tis_spi_read_bytes, > + .write_bytes = tpm_tis_spi_write_bytes, > + .read16 = tpm_tis_spi_read16, > + .read32 = tpm_tis_spi_read32, > + .write32 = tpm_tis_spi_write32, > + .set_reset = slb9670_spi_set_reset, > + .unset_reset = slb9670_spi_unset_reset, > +}; 0-day is complaining that slb9670_spi_set_reset() / slb9670_spi_unset_reset() are not declared static: https://lore.kernel.org/all/202204081357.8SfjQosI-lkp@intel.com/ Thanks, Lukas