[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49514.1247774890@turing-police.cc.vt.edu>
Date: Thu, 16 Jul 2009 16:08:10 -0400
From: Valdis.Kletnieks@...edu
To: Rajiv Andrade <srajiv@...ux.vnet.ibm.com>
Cc: Alan Cox <alan@...rguk.ukuu.org.uk>,
Andy Isaacson <adi@...are.com>, linux-kernel@...r.kernel.org,
tpmdd-devel@...ts.sourceforge.net, adi@...apodia.org,
dds@...gle.com, Mimi Zohar <zohar@...ux.vnet.ibm.com>,
Shahbaz Khan <shaz.linux@...il.com>, seiji.munetoh@...il.com
Subject: Re: [PATCH] TPM: DATA_EXPECT bit check bypass
On Thu, 16 Jul 2009 14:43:32 -0300, Rajiv Andrade said:
> @@ -582,6 +585,12 @@ static int tpm_tis_init(struct device *dev, resource_siz
e_t start,
> tpm_get_timeouts(chip);
> tpm_continue_selftest(chip);
>
> + for (i=0; i < 8; i++)
> + if (ITPM_ID[i] != to_pnp_dev(dev)->id->id[i])
> + break;
> + if (i == 8)
> + chip->is_itpm = 1;
> +
strcmp() variant of some sort instead?
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists