tmp_suning_uos_patched/drivers/char/tpm
Andrew Morton 1c40f7d4f0 [PATCH] tpm_bios indexing fix
It generates warnings:

drivers/char/tpm/tpm_bios.c: In function `get_event_name':
drivers/char/tpm/tpm_bios.c:223: warning: cast from pointer to integer of different size
drivers/char/tpm/tpm_bios.c:223: warning: cast from pointer to integer of different size
drivers/char/tpm/tpm_bios.c:223: warning: cast from pointer to integer of different size
drivers/char/tpm/tpm_bios.c:224: warning: cast from pointer to integer of different size
drivers/char/tpm/tpm_bios.c:224: warning: cast from pointer to integer of different size
drivers/char/tpm/tpm_bios.c:224: warning: cast from pointer to integer of different size

and I'm not sure what the code is doing there, but it seems wrong.  We're
using the address of the buffer rather than the contents of it.

The patch adds more nasty typecasting, but I think the whole arrangement could
be done in a more typesafe manner.

Cc: Kylene Jo Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-01 08:53:12 -08:00
..
Kconfig [PATCH] tpm: remove PCI kconfig dependency 2005-11-18 07:49:46 -08:00
Makefile [PATCH] tpm: add bios measurement log 2006-01-08 20:13:55 -08:00
tpm_atmel.c [PATCH] tpm: use ioread8 and iowrite8 2005-11-18 07:49:45 -08:00
tpm_atmel.h [PATCH] tpm: use ioread8 and iowrite8 2005-11-18 07:49:45 -08:00
tpm_bios.c [PATCH] tpm_bios indexing fix 2006-02-01 08:53:12 -08:00
tpm_infineon.c [PATCH] tpm_infineon: fix printk format warning 2006-02-01 08:53:11 -08:00
tpm_nsc.c [PATCH] tpm: Fix lack of driver_unregister in init failcases 2005-11-07 07:53:36 -08:00
tpm.c [PATCH] tpm: add bios measurement log 2006-01-08 20:13:55 -08:00
tpm.h [PATCH] tpm: add bios measurement log 2006-01-08 20:13:55 -08:00