Re: [PATCH 3/4] uprobes: rename vma_address() and make it return"unsigned long"

From: Srikar Dronamraju
Date: Thu Jul 26 2012 - 01:00:25 EST


* Oleg Nesterov <oleg@xxxxxxxxxx> [2012-07-12 19:10:22]:

> 1. vma_address() returns loff_t, this looks confusing and this is
> unnecessary after the previous change. Make it return "ulong",
> all callers truncate the result anyway.
>
> 2. Its name conflicts with mm/rmap.c:vma_address(), rename it to
> offset_to_vaddr(), this matches vaddr_to_offset().
>
> Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>

Acked-by: Srikar Dronamraju <srikar@xxxxxxxxxxxxxxxxxx>

--
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/