]> git.baikalelectronics.ru Git - kernel.git/commit
s390/crash: make copy_oldmem_page() return number of bytes copied
authorAlexander Gordeev <agordeev@linux.ibm.com>
Thu, 9 Jun 2022 19:32:39 +0000 (21:32 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Thu, 23 Jun 2022 15:23:30 +0000 (17:23 +0200)
commit0b376030087b55d97f0a9fc532e897d17942e941
tree78518674a432339bfa0255c862e662bb9fa52467
parent6a839ea05f35f44c61e3e5f8ce045adda056da3f
s390/crash: make copy_oldmem_page() return number of bytes copied

Callback copy_oldmem_page() returns either error code or zero.
Instead, it should return the error code or number of bytes copied.

Fixes: 056ae38a45b2 ("s390/dump: streamline oldmem copy functions")
Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Tested-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/crash_dump.c