Re: [PATCHv3 1/2] mm: introduce vm_ops->map_pages()

From: Rusty Russell
Date: Tue Mar 04 2014 - 23:10:38 EST


Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> writes:
> On Thu, 27 Feb 2014 21:53:46 +0200 "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> wrote:
>> +
>> +void do_set_pte(struct vm_area_struct *vma, unsigned long address,
>> + struct page *page, pte_t *pte, bool write, bool anon);
>> #endif
>>
>> /*
>
> lguest made a dubious naming decision:
>
> drivers/lguest/page_tables.c:890: error: conflicting types for 'do_set_pte'
> include/linux/mm.h:593: note: previous declaration of 'do_set_pte' was here
>
> I'll rename lguest's do_set_pte() to do_guest_set_pte() as a
> preparatory patch.

s/do_/ if you don't mind; if we're going to prefix it, we don't need the
extra verb.

Thanks,
Rusty.
--
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/