Re: [PATCH 2/7] Compiler Attributes: use the no-underscores syntax

2018-09-03 Thread Miguel Ojeda
Hi Geert, On Mon, Sep 3, 2018 at 8:42 AM, Geert Uytterhoeven wrote: > Hi Miguel, > > On Sat, Sep 1, 2018 at 12:41 AM Miguel Ojeda > wrote: >> On Sat, Sep 1, 2018 at 12:10 AM, Miguel Ojeda >> wrote: >> > arch/parisc/boot/compressed/misc.c:#define malloc malloc_gzip >> > include/linux/decom

Re: [PATCH 2/7] Compiler Attributes: use the no-underscores syntax

2018-09-02 Thread Geert Uytterhoeven
Hi Miguel, On Sat, Sep 1, 2018 at 12:41 AM Miguel Ojeda wrote: > On Sat, Sep 1, 2018 at 12:10 AM, Miguel Ojeda > wrote: > > arch/parisc/boot/compressed/misc.c:#define malloc malloc_gzip > > include/linux/decompress/mm.h:#define malloc(a) kmalloc(a, GFP_KERNEL) > > lib/inflate.c:#define mal

Re: [PATCH 2/7] Compiler Attributes: use the no-underscores syntax

2018-08-31 Thread Miguel Ojeda
On Sat, Sep 1, 2018 at 12:10 AM, Miguel Ojeda wrote: > arch/parisc/boot/compressed/misc.c:#define malloc malloc_gzip > include/linux/decompress/mm.h:#define malloc(a) kmalloc(a, GFP_KERNEL) > lib/inflate.c:#define malloc(a) kmalloc(a, GFP_KERNEL) > include/linux/compiler_types.h:#define noin

Re: [PATCH 2/7] Compiler Attributes: use the no-underscores syntax

2018-08-31 Thread Miguel Ojeda
Hi Ramus, On Fri, Aug 31, 2018 at 11:49 PM, Rasmus Villemoes wrote: > On 2018-08-31 19:05, Miguel Ojeda wrote: >> The attribute syntax optionally allows to surround attribute names >> with "__" in order to avoid collisions with macros of the same name >> (see https://gcc.gnu.org/onlinedocs/gcc/At

Re: [PATCH 2/7] Compiler Attributes: use the no-underscores syntax

2018-08-31 Thread Rasmus Villemoes
On 2018-08-31 19:05, Miguel Ojeda wrote: > The attribute syntax optionally allows to surround attribute names > with "__" in order to avoid collisions with macros of the same name > (see https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html). > > This homogenizes all attributes to use the synta

Re: [PATCH 2/7] Compiler Attributes: use the no-underscores syntax

2018-08-31 Thread Miguel Ojeda
Hi Nick, On Fri, Aug 31, 2018 at 8:51 PM, Nick Desaulniers wrote: > On Fri, Aug 31, 2018 at 10:05 AM Miguel Ojeda >> diff --git a/include/linux/compiler.h b/include/linux/compiler.h >> index 7c0157d50964..e0e55eb3f242 100644 >> --- a/include/linux/compiler.h >> +++ b/include/linux/compiler.h >> @

Re: [PATCH 2/7] Compiler Attributes: use the no-underscores syntax

2018-08-31 Thread Nick Desaulniers
On Fri, Aug 31, 2018 at 10:05 AM Miguel Ojeda wrote: > > The attribute syntax optionally allows to surround attribute names > with "__" in order to avoid collisions with macros of the same name > (see https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html). > > This homogenizes all attributes to

[PATCH 2/7] Compiler Attributes: use the no-underscores syntax

2018-08-31 Thread Miguel Ojeda
The attribute syntax optionally allows to surround attribute names with "__" in order to avoid collisions with macros of the same name (see https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html). This homogenizes all attributes to use the syntax without underscores. Cc: Eli Friedman Cc: Chris