Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2661064rwd; Fri, 2 Jun 2023 12:41:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4xuAyPxRpauH7zimu0Ix1hwg78ikGMzG7275RPEjfyneot51kgr2B5TL+l74iYfac9eCRx X-Received: by 2002:a17:90a:6802:b0:255:fe76:d13c with SMTP id p2-20020a17090a680200b00255fe76d13cmr835609pjj.15.1685734888400; Fri, 02 Jun 2023 12:41:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685734888; cv=none; d=google.com; s=arc-20160816; b=o8JpQE7EUzXUAkMhkz+07+Wh5c2PO3I2tA6l7Pyt5tq6DUdLT/B5rlbvZo4PrGAxTI 4F3y9b0REfNMcDrcjVtcMacaa179Yt/pJ0RtP0vns4yreAl6viKOr0MhwPWwMjZTQ4sf FtsoWvLZ3NOxJBoaRN3uI9LqR+Todj0cfAc38eqqdlF4trmwkEZI1wzdem1EeqnvSa3N 1VZG2jbiL6f0K1spdL95beWffPgpGvS/0SqN6SOp2K10OsXN72KgMVa6fRSnfR+gaPU+ ha7pJlLxvZ5T24JUWqHuY6JwfsAyo9R38/sq8D6f5T6qpBFSUcXUJudCn3JF+JVda+FP B/IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Ju/AcBixu8/Mcgg23kEVwFIcePOuvuzs+dxoaiQg3bQ=; b=nKCGutCoLZWWFWOtBMmKe5BNRpEM+aimqXuUfqOixbZxGX9dqGRs0WLTZL6Vmw1Z6F Brd7oSVAVvlFyDbSzsUHnn7pWzrdBXdTc1UYUCKR2+EOj1SWQ5smZdKmOarshdw7omNy LSjvqHSf1DZ31mRoScgybc3RlmNKhfbJI+GRVpZJ8dkE4MyPu1oesy8iixDiwyN4x91N QTY2/qlE8pdli1y2pEAQH/E/PzoNGzq6bz8o1ftSC7usZtX8yXWNJYLYo3p3jltmyPPZ RPvRyc8/CME3zoHEjeDCOhVIKdiAlLxVRBgLG7GWqgdmcm1Ctp/iDPxCf7TDvCqXaVOV bBQw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=denx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j12-20020a17090a94cc00b002535e5e607asi1434309pjw.150.2023.06.02.12.41.13; Fri, 02 Jun 2023 12:41:28 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=denx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237118AbjFBTVX (ORCPT + 99 others); Fri, 2 Jun 2023 15:21:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236003AbjFBTVW (ORCPT ); Fri, 2 Jun 2023 15:21:22 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C1D51B8; Fri, 2 Jun 2023 12:21:20 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 850051C0E51; Fri, 2 Jun 2023 21:21:17 +0200 (CEST) Date: Fri, 2 Jun 2023 21:21:14 +0200 From: Pavel Machek To: Lino Sanfilippo Cc: jarkko@kernel.org, gregkh@linuxfoundation.org, pavel@denx.de, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de, linux-integrity@vger.kernel.org, l.sanfilippo@kunbus.com, lukas@wunner.de, p.rosenberger@kunbus.com, stable@vger.kernel.org Subject: Re: [PATCH] tpm, tpm_tis: correct tpm_tis_flags enumeration values Message-ID: References: <20230530164116.20770-1-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="w9Khytz2WmtvP9wq" Content-Disposition: inline In-Reply-To: <20230530164116.20770-1-LinoSanfilippo@gmx.de> X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NEUTRAL,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 --w9Khytz2WmtvP9wq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > From: Lino Sanfilippo >=20 > With commit 858e8b792d06 ("tpm, tpm_tis: Avoid cache incoherency in test > for interrupts") bit accessor functions are used to access flags in > tpm_tis_data->flags. >=20 > However these functions expect bit numbers, while the flags are defined as > bit masks in enum tpm_tis_flag. >=20 > Fix this inconsistency by using numbers instead of masks also for the fla= gs > in the enum. >=20 Reviewed-by: Pavel Machek Thank you! Best regards, Pavel --=20 DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --w9Khytz2WmtvP9wq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZHpBKgAKCRAw5/Bqldv6 8iFbAJ4tQr2ZZkoJAQQwMB1LxZcY64Tp8gCgtTqX7sTiTc12sDu7z5xhTjevRQ8= =q5/Y -----END PGP SIGNATURE----- --w9Khytz2WmtvP9wq--