Re: [PATCH v7u1 25/31] memblock: add memblock_mem_size()

From: Yinghai Lu
Date: Mon Jan 14 2013 - 17:28:26 EST


On Mon, Jan 14, 2013 at 12:42 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> On 01/03/2013 04:48 PM, Yinghai Lu wrote:
>>
>> - mapped_size = get_mem_size(max_pfn_mapped);
>> + mapped_size = (u64)memblock_mem_size(max_pfn_mapped);
>
> This cast is completely unnecessary.

ok, dropped that cast.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/