diff options
| author | Martin Schwidefsky <[email protected]> | 2016-11-16 16:36:26 +0100 |
|---|---|---|
| committer | Martin Schwidefsky <[email protected]> | 2016-11-17 06:56:38 +0100 |
| commit | 191ce9d1fde84190f18cd3faf0ef8594f442b313 (patch) | |
| tree | 50814453e4dc64c4ec68dde13b09c533d6b1bf9c /tools/lib/api/debug.c | |
| parent | 68962269a4afda51e2d4794e82b5e187d7710b39 (diff) | |
s390/time: fix clocksource steering for negative clock offsets
The TOD clock offset injected by an STP sync check can be negative.
If the resulting total tod_steering_delta gets negative the kernel
will panic.
Change the type of tod_steering_delta to a signed type.
Reported-by: Dan Carpenter <[email protected]>
Fixes: 75c7b6f3f6ba ("s390/time: steer clocksource on STP sync events")
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions