Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114239
b: refs/heads/master
c: 7477fb6
h: refs/heads/master
i:
  114237: 33924d7
  114235: 7c3b2cd
  114231: ad0a1ff
  114223: 77fac19
  114207: a08a7cc
  114175: d406eed
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Oct 14, 2008
1 parent 1537a53 commit 53db01d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 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: 998aaf01c6f6f3dffc1ea9e7b20b131e38fdbc78
refs/heads/master: 7477fb6fbc339469ea945e007f3f7b3bb13b25f7
10 changes: 5 additions & 5 deletions trunk/drivers/input/misc/hp_sdc_rtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -458,35 +458,35 @@ static int hp_sdc_rtc_proc_output (char *buf)
p += sprintf(p, "i8042 rtc\t: READ FAILED!\n");
} else {
p += sprintf(p, "i8042 rtc\t: %ld.%02d seconds\n",
tv.tv_sec, tv.tv_usec/1000);
tv.tv_sec, (int)tv.tv_usec/1000);
}

if (hp_sdc_rtc_read_fhs(&tv)) {
p += sprintf(p, "handshake\t: READ FAILED!\n");
} else {
p += sprintf(p, "handshake\t: %ld.%02d seconds\n",
tv.tv_sec, tv.tv_usec/1000);
tv.tv_sec, (int)tv.tv_usec/1000);
}

if (hp_sdc_rtc_read_mt(&tv)) {
p += sprintf(p, "alarm\t\t: READ FAILED!\n");
} else {
p += sprintf(p, "alarm\t\t: %ld.%02d seconds\n",
tv.tv_sec, tv.tv_usec/1000);
tv.tv_sec, (int)tv.tv_usec/1000);
}

if (hp_sdc_rtc_read_dt(&tv)) {
p += sprintf(p, "delay\t\t: READ FAILED!\n");
} else {
p += sprintf(p, "delay\t\t: %ld.%02d seconds\n",
tv.tv_sec, tv.tv_usec/1000);
tv.tv_sec, (int)tv.tv_usec/1000);
}

if (hp_sdc_rtc_read_ct(&tv)) {
p += sprintf(p, "periodic\t: READ FAILED!\n");
} else {
p += sprintf(p, "periodic\t: %ld.%02d seconds\n",
tv.tv_sec, tv.tv_usec/1000);
tv.tv_sec, (int)tv.tv_usec/1000);
}

p += sprintf(p,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/input/serio/hp_sdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ static void hp_sdc_tasklet(unsigned long foo)
* it back to the application. and be less verbose.
*/
printk(KERN_WARNING PREFIX "read timeout (%ius)!\n",
tv.tv_usec - hp_sdc.rtv.tv_usec);
(int)(tv.tv_usec - hp_sdc.rtv.tv_usec));
curr->idx += hp_sdc.rqty;
hp_sdc.rqty = 0;
tmp = curr->seq[curr->actidx];
Expand Down

0 comments on commit 53db01d

Please sign in to comment.