Messages in this thread Patch in this message | | | Subject | [PATCH] tpm-build-fix | Date | Wed, 9 Mar 2005 16:42:02 -0800 | From | Greg KH <> |
| |
ChangeSet 1.2039, 2005/03/09 10:13:34-08:00, akpm@osdl.org
[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 <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |