[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49DDC647.10702@fastmail.fm>
Date: Thu, 09 Apr 2009 10:56:23 +0100
From: Jack Stone <jwjstone@...tmail.fm>
To: linux-kernel@...r.kernel.org
CC: jeff@...zik.org, kernel-janitors@...r.kernel.org,
tony.luck@...el.com
Subject: Re: [PATCH 14/56] ia64: Remove void casts
[Added maintainer CC]
Jack Stone wrote:
> Remove uneeded void casts
>
> Signed-Off-By: Jack Stone <jwjstone@...tmail.fm>
> ---
> arch/ia64/kernel/mca_drv.c | 2 +-
> arch/ia64/mm/contig.c | 2 +-
> arch/ia64/mm/discontig.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/ia64/kernel/mca_drv.c b/arch/ia64/kernel/mca_drv.c
> index f94aaa8..820f34e 100644
> --- a/arch/ia64/kernel/mca_drv.c
> +++ b/arch/ia64/kernel/mca_drv.c
> @@ -496,7 +496,7 @@ recover_from_read_error(slidx_table_t *slidx,
> u64 target_identifier;
> pal_min_state_area_t *pmsa;
> struct ia64_psr *psr1, *psr2;
> - ia64_fptr_t *mca_hdlr_bh = (ia64_fptr_t*)mca_handler_bhhook;
> + ia64_fptr_t *mca_hdlr_bh = mca_handler_bhhook;
>
> /* Is target address valid? */
> target_identifier = get_target_identifier(peidx);
> diff --git a/arch/ia64/mm/contig.c b/arch/ia64/mm/contig.c
> index 0ee085e..e0d27b0 100644
> --- a/arch/ia64/mm/contig.c
> +++ b/arch/ia64/mm/contig.c
> @@ -272,7 +272,7 @@ paging_init (void)
> map_size = PAGE_ALIGN(ALIGN(max_low_pfn, MAX_ORDER_NR_PAGES) *
> sizeof(struct page));
> vmalloc_end -= map_size;
> - vmem_map = (struct page *) vmalloc_end;
> + vmem_map = vmalloc_end;
> efi_memmap_walk(create_mem_map_page_table, NULL);
>
> /*
> diff --git a/arch/ia64/mm/discontig.c b/arch/ia64/mm/discontig.c
> index d85ba98..f3a45cd 100644
> --- a/arch/ia64/mm/discontig.c
> +++ b/arch/ia64/mm/discontig.c
> @@ -668,7 +668,7 @@ void __init paging_init(void)
> #ifdef CONFIG_VIRTUAL_MEM_MAP
> vmalloc_end -= PAGE_ALIGN(ALIGN(max_low_pfn, MAX_ORDER_NR_PAGES) *
> sizeof(struct page));
> - vmem_map = (struct page *) vmalloc_end;
> + vmem_map = vmalloc_end;
> efi_memmap_walk(create_mem_map_page_table, NULL);
> printk("Virtual mem_map starts at 0x%p\n", vmem_map);
> #endif
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists