Re: [patch 3/3] IA64: virt_to_page() can be called with NULL arg

From: Kirill Korotaev <dev_at_sw.ru>
Date: 2006-12-20 20:52:54
>>>>>>"akpm" == akpm  <akpm@osdl.org> writes:
> 
> 
> akpm> From: Kirill Korotaev <dev@openvz.org> It does not return NULL
> akpm> when arg is NULL.
> 
> Shouldn't the real fix be to track down who calls virt_to_page() with
> a NULL pointer? IMHO it is bogus to do so.
what do you propose? to insert BUG_ON(!kaddr) into virt_to_page()?
in this case caller in question should be still fixed.

Thanks,
Kirill
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Dec 20 21:04:11 2006

This archive was generated by hypermail 2.1.8 : 2006-12-20 21:04:50 EST