linux-stable/drivers/s390
Sven Schnelle b9b109419d s390/stp: clock_delta should be signed
commit 5ace65ebb5 upstream.

clock_delta is declared as unsigned long in various places. However,
the clock sync delta can be negative. This would add a huge positive
offset in clock_sync_global where clock_delta is added to clk.eitod
which is a 72 bit integer. Declare it as signed long to fix this.

Cc: stable@vger.kernel.org
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-09 10:30:45 +02:00
..
block s390/dasd: Use kzalloc instead of kmalloc/memset 2022-05-05 20:08:27 -06:00
char s390: cleanup timer API use 2022-03-27 22:18:39 +02:00
cio s390/stp: clock_delta should be signed 2022-06-09 10:30:45 +02:00
crypto s390/zcrypt: fix using the correct variable for sizeof() 2022-03-27 22:18:39 +02:00
net s390/lcs: fix variable dereferenced before check 2022-05-11 12:31:01 +01:00
scsi scsi: zfcp: Fix failed recovery on gone remote port with non-NPIV FCP devices 2022-01-24 23:30:27 -05:00
virtio virtio/s390: get rid of open-coded kvm hypercall 2021-06-28 11:18:28 +02:00
Makefile