Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19340
b: refs/heads/master
c: 10296cb
h: refs/heads/master
v: v3
  • Loading branch information
Kylene Jo Hall authored and Linus Torvalds committed Feb 1, 2006
1 parent f6d8e2b commit 7924b8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7bcee5b86a8d9f8a0f2c1848fd9abd675e09e969
refs/heads/master: 10296cb0b2b0b0eb312f81032216504a64ee675a
4 changes: 2 additions & 2 deletions trunk/drivers/char/tpm/tpm_bios.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ static int read_log(struct tpm_bios_log *log)
{
struct acpi_tcpa *buff;
acpi_status status;
void *virt;
struct acpi_table_header *virt;

if (log->bios_event_log != NULL) {
printk(KERN_ERR
Expand Down Expand Up @@ -413,7 +413,7 @@ static int read_log(struct tpm_bios_log *log)

log->bios_event_log_end = log->bios_event_log + buff->log_max_len;

acpi_os_map_memory(buff->log_start_addr, buff->log_max_len, &virt);
acpi_os_map_memory(buff->log_start_addr, buff->log_max_len, (void *) &virt);

memcpy(log->bios_event_log, virt, buff->log_max_len);

Expand Down

0 comments on commit 7924b8e

Please sign in to comment.