Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243263
b: refs/heads/master
c: 1309d7a
h: refs/heads/master
i:
  243261: c7167e7
  243259: f72f76d
  243255: dd72aa6
  243247: bbf7109
  243231: 37f9550
  243199: c9c8f67
v: v3
  • Loading branch information
Peter Huewe authored and Linus Torvalds committed Mar 29, 2011
1 parent 415c76b commit 0195967
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 0444d76ae64fffc7851797fc1b6ebdbb44ac504a
refs/heads/master: 1309d7afbed112f0e8e90be9af975550caa0076b
2 changes: 1 addition & 1 deletion trunk/drivers/char/tpm/tpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ int tpm_open(struct inode *inode, struct file *file)
return -EBUSY;
}

chip->data_buffer = kmalloc(TPM_BUFSIZE * sizeof(u8), GFP_KERNEL);
chip->data_buffer = kzalloc(TPM_BUFSIZE, GFP_KERNEL);
if (chip->data_buffer == NULL) {
clear_bit(0, &chip->is_open);
put_device(chip->dev);
Expand Down

0 comments on commit 0195967

Please sign in to comment.