Re: [PATCH] mm: Provide consistent declaration for num_poisoned_pages

2018-02-26 Thread Guenter Roeck
On 02/26/2018 03:57 PM, David Rientjes wrote: On Mon, 26 Feb 2018, Guenter Roeck wrote: clang reports the following compile warning. In file included from mm/vmscan.c:56: ./include/linux/swapops.h:327:22: warning: section attribute is specified on redeclared variable [-Wsection]

Re: [PATCH] mm: Provide consistent declaration for num_poisoned_pages

2018-02-26 Thread Guenter Roeck
On 02/26/2018 03:57 PM, David Rientjes wrote: On Mon, 26 Feb 2018, Guenter Roeck wrote: clang reports the following compile warning. In file included from mm/vmscan.c:56: ./include/linux/swapops.h:327:22: warning: section attribute is specified on redeclared variable [-Wsection]

Re: [PATCH] mm: Provide consistent declaration for num_poisoned_pages

2018-02-26 Thread David Rientjes
On Mon, 26 Feb 2018, Guenter Roeck wrote: > clang reports the following compile warning. > > In file included from mm/vmscan.c:56: > ./include/linux/swapops.h:327:22: warning: > section attribute is specified on redeclared variable [-Wsection] > extern atomic_long_t num_poisoned_pages

Re: [PATCH] mm: Provide consistent declaration for num_poisoned_pages

2018-02-26 Thread David Rientjes
On Mon, 26 Feb 2018, Guenter Roeck wrote: > clang reports the following compile warning. > > In file included from mm/vmscan.c:56: > ./include/linux/swapops.h:327:22: warning: > section attribute is specified on redeclared variable [-Wsection] > extern atomic_long_t num_poisoned_pages

[PATCH] mm: Provide consistent declaration for num_poisoned_pages

2018-02-26 Thread Guenter Roeck
clang reports the following compile warning. In file included from mm/vmscan.c:56: ./include/linux/swapops.h:327:22: warning: section attribute is specified on redeclared variable [-Wsection] extern atomic_long_t num_poisoned_pages __read_mostly; ^

[PATCH] mm: Provide consistent declaration for num_poisoned_pages

2018-02-26 Thread Guenter Roeck
clang reports the following compile warning. In file included from mm/vmscan.c:56: ./include/linux/swapops.h:327:22: warning: section attribute is specified on redeclared variable [-Wsection] extern atomic_long_t num_poisoned_pages __read_mostly; ^