Skip to content

Commit 6915cff

Browse files
yuzhenfschinawilldeacon
authored andcommitted
arm64: kexec: remove unnecessary (void*) conversions
Pointer variables of void * type do not require type cast. Signed-off-by: Yu Zhe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 0e2cb49 commit 6915cff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kernel/machine_kexec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ static void kexec_segment_flush(const struct kimage *kimage)
102102
/* Allocates pages for kexec page table */
103103
static void *kexec_page_alloc(void *arg)
104104
{
105-
struct kimage *kimage = (struct kimage *)arg;
105+
struct kimage *kimage = arg;
106106
struct page *page = kimage_alloc_control_pages(kimage, 0);
107107
void *vaddr = NULL;
108108

0 commit comments

Comments
 (0)