Re: [PATCH v8 2/8] uaccess: add untagged_addr definition for other arches
From: Catalin Marinas
Date: Thu Nov 29 2018 - 13:23:36 EST
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 <asm/uaccess.h>
>
> +#ifndef untagged_addr
> +#define untagged_addr(addr) addr
> +#endif
Nitpick: add braces around (addr). Otherwise:
Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>