From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it1-f200.google.com (mail-it1-f200.google.com [209.85.166.200]) by kanga.kvack.org (Postfix) with ESMTP id BFBC26B7A36 for ; Thu, 6 Dec 2018 07:36:58 -0500 (EST) Received: by mail-it1-f200.google.com with SMTP id v3so660400itf.4 for ; Thu, 06 Dec 2018 04:36:58 -0800 (PST) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id q20sor126933ioj.113.2018.12.06.04.36.57 for (Google Transport Security); Thu, 06 Dec 2018 04:36:57 -0800 (PST) MIME-Version: 1.0 References: <20181129182323.GI22027@arrakis.emea.arm.com> In-Reply-To: <20181129182323.GI22027@arrakis.emea.arm.com> From: Andrey Konovalov Date: Thu, 6 Dec 2018 13:36:46 +0100 Message-ID: Subject: Re: [PATCH v8 2/8] uaccess: add untagged_addr definition for other arches Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Catalin Marinas Cc: Will Deacon , Mark Rutland , Robin Murphy , Kees Cook , Kate Stewart , Greg Kroah-Hartman , Andrew Morton , Ingo Molnar , "Kirill A. Shutemov" , Shuah Khan , Linux ARM , "open list:DOCUMENTATION" , Linux Memory Management List , linux-arch , "open list:KERNEL SELFTEST FRAMEWORK" , LKML , Chintan Pandya , Jacob Bramley , Ruben Ayrapetyan , Lee Smith , Kostya Serebryany , Dmitry Vyukov , Ramana Radhakrishnan , Luc Van Oostenryck , Evgenii Stepanov On Thu, Nov 29, 2018 at 7:23 PM Catalin Marinas wrote: > > On Thu, Nov 08, 2018 at 03:36:09PM +0100, Andrey Konovalov wrote: > > diff --git a/include/linux/uaccess.h b/include/linux/uaccess.h > > index efe79c1cdd47..c045b4eff95e 100644 > > --- a/include/linux/uaccess.h > > +++ b/include/linux/uaccess.h > > @@ -13,6 +13,10 @@ > > > > #include > > > > +#ifndef untagged_addr > > +#define untagged_addr(addr) addr > > +#endif > > Nitpick: add braces around (addr). Otherwise: Will do in v9, thanks! > > Acked-by: Catalin Marinas