summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-12-19 12:03:17 +0100
committerThomas Gleixner <tglx@linutronix.de>2015-12-19 12:03:17 +0100
commite2666d69068aba300d6c0dfe96489552f653be2a (patch)
tree07fa371d800deec45225589ebe6154dcc6c956b2 /tools
parentd33f250af4e67d449f2c748b861ba99d50955469 (diff)
parentec02b076ceab63f99e5b3d80fd223d777266c236 (diff)
downloadop-kernel-dev-e2666d69068aba300d6c0dfe96489552f653be2a.zip
op-kernel-dev-e2666d69068aba300d6c0dfe96489552f653be2a.tar.gz
Merge branch 'fortglx/4.5/time' of https://git.linaro.org/people/john.stultz/linux into timers/core
Get the core time(keeping) updates from John Stultz - NTP robustness tweaks - Another signed overflow nailed down - More y2038 changes - Stop alarmtimer after resume - MAINTAINERS update - Selftest fixes
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/timers/clocksource-switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/timers/clocksource-switch.c b/tools/testing/selftests/timers/clocksource-switch.c
index 627ec74..fd88e30 100644
--- a/tools/testing/selftests/timers/clocksource-switch.c
+++ b/tools/testing/selftests/timers/clocksource-switch.c
@@ -97,7 +97,7 @@ int get_cur_clocksource(char *buf, size_t size)
int change_clocksource(char *clocksource)
{
int fd;
- size_t size;
+ ssize_t size;
fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_WRONLY);
OpenPOWER on IntegriCloud