[PATCH v2 6/7] Mute some compiler warnings

HATAYAMA Daisuke d.hatayama at jp.fujitsu.com
Thu Jul 18 20:03:49 EDT 2013


(2013/07/16 21:32), Daniel Kiper wrote:
<cut>
> diff --git a/sadump_info.c b/sadump_info.c
> index be6cf55..01cf5eb 100644
> --- a/sadump_info.c
> +++ b/sadump_info.c
> @@ -948,7 +948,6 @@ int
>   readpage_sadump(unsigned long long paddr, void *bufptr)
>   {
>   	unsigned long long pfn, block, whole_offset, perdisk_offset;
> -	ulong page_offset;
>   	int fd_memory;
>
>   	if (si->kdump_backed_up &&
> @@ -957,7 +956,6 @@ readpage_sadump(unsigned long long paddr, void *bufptr)
>   		paddr += si->backup_offset - si->backup_src_start;
>
>   	pfn = paddr_to_pfn(paddr);
> -	page_offset = paddr % info->page_size;
>
>   	if (pfn >= si->sh_memory->max_mapnr)
>   		return FALSE;
>

It seems good to me. Thanks.

-- 
Thanks.
HATAYAMA, Daisuke




More information about the kexec mailing list