Skip to content
Commit f471c658 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Alexander Gordeev
Browse files

s390/crash: use the correct type for memory allocation



get_elfcorehdr_size() returns a size_t, so there is no real point to
store it in a u32.

Turn 'alloc_size' into a size_t.

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/0756118c9058338f3040edb91971d0bfd100027b.1686688212.git.christophe.jaillet@wanadoo.fr


Signed-off-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
parent 03c5c83b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment