Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106161
b: refs/heads/master
c: 0147600
h: refs/heads/master
i:
  106159: 9c12095
v: v3
  • Loading branch information
Michael Halcrow authored and Linus Torvalds committed Jul 26, 2008
1 parent 29eb0d8 commit 09ac4e5
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: ec288bd37e1925f513db40871bc46115cf7fb733
refs/heads/master: 0147600172b4a5d261165d1aa5ef818d84da1557
4 changes: 2 additions & 2 deletions trunk/drivers/char/tpm/tpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ ssize_t tpm_write(struct file *file, const char __user *buf,
size_t size, loff_t *off)
{
struct tpm_chip *chip = file->private_data;
int in_size = size, out_size;
size_t in_size = size, out_size;

/* cannot perform a write until the read has cleared
either via tpm_read or a user_read_timer timeout */
Expand Down Expand Up @@ -1063,7 +1063,7 @@ ssize_t tpm_read(struct file *file, char __user *buf,
size_t size, loff_t *off)
{
struct tpm_chip *chip = file->private_data;
int ret_size;
ssize_t ret_size;

del_singleshot_timer_sync(&chip->user_read_timer);
flush_scheduled_work();
Expand Down

0 comments on commit 09ac4e5

Please sign in to comment.