On Fri, Mar 10, 2017 at 03:58:09AM -0600, Jiandi An wrote:

> +     if (sm == ACPI_TPM2_COMMAND_BUFFER_WITH_SMC) {
> +             if ((buf->header.length - default_len) !=
> +                 sizeof(struct tpm2_crb_smc)) {
> +                     dev_err(dev, "TPM2 ACPI table has wrong size %u for 
> start method type %d\n",
> +                             buf->header.length,

This should be:

        dev_err(dev, FW_BUG "TPM2 ACPI table has wrong size %u for start method 
type %d\n",

Jason

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
tpmdd-devel mailing list
tpmdd-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tpmdd-devel

Reply via email to