Skip to content
Commit f6749da1 authored by Alexander Gordeev's avatar Alexander Gordeev
Browse files

s390/crash: fix incorrect number of bytes to copy to user space



The number of bytes in a chunk is correctly calculated, but instead
the total number of bytes is passed to copy_to_user_real() function.

Reported-by: default avatarMatthew Wilcox <willy@infradead.org>
Fixes: df9694c7 ("s390/dump: streamline oldmem copy functions")
Signed-off-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
parent 86caa4b6
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