Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 191ce9d1 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Fixes: 75c7b6f3 ("s390/time: steer clocksource on STP sync events")
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 68962269
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment