s390/crash: use the correct type for memory allocation
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 13 Jun 2023 20:30:28 +0000 (22:30 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 20 Jun 2023 17:52:12 +0000 (19:52 +0200)
commitf471c6585c7f2f168b8eb2d19e2d6e5f22a6645f
treef3c8b79e30f69a9df261f054ff9720c465299981
parent03c5c83b70dca3729a3eb488e668e5044bd9a5ea
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: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/0756118c9058338f3040edb91971d0bfd100027b.1686688212.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/crash_dump.c