ChangeSet 1.2039, 2005/03/09 10:13:34-08:00, [EMAIL PROTECTED]

[PATCH] tpm-build-fix

drivers/char/tpm/tpm.c: In function `show_pcrs':
drivers/char/tpm/tpm.c:228: warning: passing arg 1 of `tpm_transmit' from 
incompatible pointer type
drivers/char/tpm/tpm.c:238: warning: passing arg 1 of `tpm_transmit' from 
incompatible pointer type


Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>


 drivers/char/tpm/tpm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/char/tpm/tpm.c b/drivers/char/tpm/tpm.c
--- a/drivers/char/tpm/tpm.c    2005-03-09 16:39:58 -08:00
+++ b/drivers/char/tpm/tpm.c    2005-03-09 16:39:58 -08:00
@@ -219,7 +219,7 @@
        int i, j, index, num_pcrs;
        char *str = buf;
 
-       struct tpm_chp *chip =
+       struct tpm_chip *chip =
            pci_get_drvdata(container_of(dev, struct pci_dev, dev));
        if (chip == NULL)
                return -ENODEV;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to