From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com ([134.134.136.24]:8523 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934874AbeCEND0 (ORCPT ); Mon, 5 Mar 2018 08:03:26 -0500 Date: Mon, 5 Mar 2018 15:03:20 +0200 From: Jarkko Sakkinen To: Tomas Winkler Cc: Jason Gunthorpe , Alexander Usyskin , linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] tpm_crb: use __le64 annotated variable for response buffer address Message-ID: <20180305130320.GC3425@linux.intel.com> References: <20180304121205.16934-1-tomas.winkler@intel.com> <20180304121205.16934-3-tomas.winkler@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20180304121205.16934-3-tomas.winkler@intel.com> Sender: linux-integrity-owner@vger.kernel.org List-ID: On Sun, Mar 04, 2018 at 02:12:05PM +0200, Tomas Winkler wrote: > This suppresses sparse warning > drivers/char/tpm/tpm_crb.c:558:18: warning: cast to restricted __le64 > > Signed-off-by: Tomas Winkler > --- > drivers/char/tpm/tpm_crb.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) The guideline is that you should describe what is wrong rather than copy-paste the sparse message. /Jarkko From mboxrd@z Thu Jan 1 00:00:00 1970 From: jarkko.sakkinen@linux.intel.com (Jarkko Sakkinen) Date: Mon, 5 Mar 2018 15:03:20 +0200 Subject: [PATCH 3/3] tpm_crb: use __le64 annotated variable for response buffer address In-Reply-To: <20180304121205.16934-3-tomas.winkler@intel.com> References: <20180304121205.16934-1-tomas.winkler@intel.com> <20180304121205.16934-3-tomas.winkler@intel.com> Message-ID: <20180305130320.GC3425@linux.intel.com> To: linux-security-module@vger.kernel.org List-Id: linux-security-module.vger.kernel.org On Sun, Mar 04, 2018 at 02:12:05PM +0200, Tomas Winkler wrote: > This suppresses sparse warning > drivers/char/tpm/tpm_crb.c:558:18: warning: cast to restricted __le64 > > Signed-off-by: Tomas Winkler > --- > drivers/char/tpm/tpm_crb.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) The guideline is that you should describe what is wrong rather than copy-paste the sparse message. /Jarkko -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html