Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp104141pxb; Mon, 13 Sep 2021 14:12:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwY5kYidQ/TD7rI9X12yFlsNbHTCAa/zVEHa8hbcqhReISQx7LXwkCBmcqiUAl5F1UDoqEx X-Received: by 2002:aa7:c782:: with SMTP id n2mr15605086eds.77.1631567522405; Mon, 13 Sep 2021 14:12:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631567522; cv=none; d=google.com; s=arc-20160816; b=csGrgP/vmeIW2rHLVjE6uOW0GsIKCndB2R6bWfmamrYH44Nvk3mK/q447Il+AgWM7/ hh1l8CcPij0H1Z0Mpj3+vkI9lJVtnDTjCpfC4EDCBqjNOp7c97XsUat+NlhRZSE9uE7C pnY6QiTWcPquztOzZ4zMcV+WFXoq8aolE1BxRkuIymn8gugRcaExDF8GmQxAHen2WTrZ yqpWFyLIpD0whZkFTNRwcMBvZdinVg/yIEnNOHXW0Vb2i9RoxjzbO1HKw0hX0AmZ7E7O SSIH9xGXu6AEfQ/kTgrl9a4L1nbNlqmB2y1Ct/kz2cjD5GN3bckkl+ccg9Z4uSdAb/9A /2MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version; bh=Wcqr3OurJ+fEtshXglohzbQ2fEPjE4OSeeNBTzGwEH4=; b=n16AV7Qavx+lcFtHvfaGwnP7R3C7M+k3F5pYshTJg1566BJWZ4UlmIBi3NcpgNiK/3 qx+iTENU8jcUsDxKUruo/Ds83PZbXv/AUWZCl/nHY5r5IIaHukHsVSZ0yTEi6EwvxLRE 5jk6KvLxSv1i3RKNBXexbKdLABESqTGKFNNVhqWLf1VAvryUnUDtjfXU9j8tuMQtNkHH /PRcgUkfvHnu18n+8A9Csgrcukv6OwiE15BP6HkHp4Kmtx4pqaKP22A9CxZAsRfFOh7+ aY6RprS8c1ujJnTb5FkMr3IhSnAM8q5yAH1FNziHm3LYLfAxgxhelwNhVwKrmeqs5OwU 9y9Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l3si9621717ejo.634.2021.09.13.14.11.38; Mon, 13 Sep 2021 14:12:02 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243879AbhIMNvp (ORCPT + 99 others); Mon, 13 Sep 2021 09:51:45 -0400 Received: from mxout70.expurgate.net ([194.37.255.70]:55347 "EHLO mxout70.expurgate.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243603AbhIMNsL (ORCPT ); Mon, 13 Sep 2021 09:48:11 -0400 Received: from [127.0.0.1] (helo=localhost) by relay.expurgate.net with smtp (Exim 4.92) (envelope-from ) id 1mPmIN-0004dK-P6; Mon, 13 Sep 2021 15:46:51 +0200 Received: from [195.243.126.94] (helo=securemail.tdt.de) by relay.expurgate.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mPmIN-00014X-29; Mon, 13 Sep 2021 15:46:51 +0200 Received: from securemail.tdt.de (localhost [127.0.0.1]) by securemail.tdt.de (Postfix) with ESMTP id 64BF3240042; Mon, 13 Sep 2021 15:46:50 +0200 (CEST) Received: from mail.dev.tdt.de (unknown [10.2.4.42]) by securemail.tdt.de (Postfix) with ESMTP id E51A0240041; Mon, 13 Sep 2021 15:46:49 +0200 (CEST) Received: from mail.dev.tdt.de (localhost [IPv6:::1]) by mail.dev.tdt.de (Postfix) with ESMTP id 584BF20110; Mon, 13 Sep 2021 15:46:48 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 13 Sep 2021 15:46:48 +0200 From: Florian Eckert To: Jason Gunthorpe Cc: peterhuewe@gmx.de, jarkko@kernel.org, Eckert.Florian@googlemail.com, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/1] tpm/tpm_i2c_infineon: Fix init endian vendor check In-Reply-To: <20210913130210.GD3544071@ziepe.ca> References: <20210913120521.18572-1-fe@dev.tdt.de> <20210913130210.GD3544071@ziepe.ca> Message-ID: <690f5a5f846c4ef966713b4970d07737@dev.tdt.de> X-Sender: fe@dev.tdt.de User-Agent: Roundcube Webmail/1.3.16 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dev.tdt.de X-purgate-ID: 151534::1631540811-00000C04-D5556CE0/0/0 X-purgate: clean X-purgate-type: clean Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Jason, >> The device works than as expected. >> >> Signed-off-by: Florian Eckert >> --- >> v2: >> * use variable type instead of le32_to_cpus function call >> drivers/char/tpm/tpm_i2c_infineon.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > And if you do this it need to be made sparse clean/etc Sorry for the stupid question, but what exactly do you mean? -- Florian