Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329095
b: refs/heads/master
c: f334ac8
h: refs/heads/master
i:
  329093: f2b1653
  329091: a3a0610
  329087: 96830df
v: v3
  • Loading branch information
Jesper Juhl authored and Kent Yoder committed Aug 22, 2012
1 parent 50fc2e6 commit 4902986
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 20328b56cdf8fcc79f28c6c50ad8190fc0779e80
refs/heads/master: f334ac8da82478b3f8c52e3c01849ad7fe509d5b
5 changes: 5 additions & 0 deletions trunk/drivers/char/tpm/tpm_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ int read_log(struct tpm_bios_log *log)
log->bios_event_log_end = log->bios_event_log + len;

virt = acpi_os_map_memory(start, len);
if (!virt) {
kfree(log->bios_event_log);
printk("%s: ERROR - Unable to map memory\n", __func__);
return -EIO;
}

memcpy(log->bios_event_log, virt, len);

Expand Down

0 comments on commit 4902986

Please sign in to comment.