Commit 6915cffd authored by Yu Zhe's avatar Yu Zhe Committed by Will Deacon

arm64: kexec: remove unnecessary (void*) conversions

Pointer variables of void * type do not require type cast.
Signed-off-by: default avatarYu Zhe <yuzhe@nfschina.com>
Link: https://lore.kernel.org/r/20230303025715.32570-1-yuzhe@nfschina.comSigned-off-by: default avatarWill Deacon <will@kernel.org>
parent 0e2cb49e
...@@ -102,7 +102,7 @@ static void kexec_segment_flush(const struct kimage *kimage) ...@@ -102,7 +102,7 @@ static void kexec_segment_flush(const struct kimage *kimage)
/* Allocates pages for kexec page table */ /* Allocates pages for kexec page table */
static void *kexec_page_alloc(void *arg) static void *kexec_page_alloc(void *arg)
{ {
struct kimage *kimage = (struct kimage *)arg; struct kimage *kimage = arg;
struct page *page = kimage_alloc_control_pages(kimage, 0); struct page *page = kimage_alloc_control_pages(kimage, 0);
void *vaddr = NULL; void *vaddr = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment