Re: [PATCH] net: Use a more standard macro for INET_ADDR_COOKIE

2014-05-14 Thread David Miller
From: Joe Perches Date: Wed, 14 May 2014 13:44:09 -0700 > On Wed, 2014-05-14 at 16:08 -0400, David Miller wrote: >> From: Joe Perches >> Date: Tue, 13 May 2014 20:30:07 -0700 >> >> > Missing a colon on definition use is a bit odd so >> > change the macro for the 32 bit case to declare an >> >

Re: [PATCH] net: Use a more standard macro for INET_ADDR_COOKIE

2014-05-14 Thread Joe Perches
On Wed, 2014-05-14 at 16:08 -0400, David Miller wrote: > From: Joe Perches > Date: Tue, 13 May 2014 20:30:07 -0700 > > > Missing a colon on definition use is a bit odd so > > change the macro for the 32 bit case to declare an > > __attribute__((unused)) and __deprecated variable. > > > > The

Re: [PATCH] net: Use a more standard macro for INET_ADDR_COOKIE

2014-05-14 Thread David Miller
From: Joe Perches Date: Tue, 13 May 2014 20:30:07 -0700 > Missing a colon on definition use is a bit odd so > change the macro for the 32 bit case to declare an > __attribute__((unused)) and __deprecated variable. > > The __deprecated attribute will cause gcc to emit > an error if the variable

Re: [PATCH] net: Use a more standard macro for INET_ADDR_COOKIE

2014-05-14 Thread David Miller
From: Joe Perches j...@perches.com Date: Tue, 13 May 2014 20:30:07 -0700 Missing a colon on definition use is a bit odd so change the macro for the 32 bit case to declare an __attribute__((unused)) and __deprecated variable. The __deprecated attribute will cause gcc to emit an error if the

Re: [PATCH] net: Use a more standard macro for INET_ADDR_COOKIE

2014-05-14 Thread Joe Perches
On Wed, 2014-05-14 at 16:08 -0400, David Miller wrote: From: Joe Perches j...@perches.com Date: Tue, 13 May 2014 20:30:07 -0700 Missing a colon on definition use is a bit odd so change the macro for the 32 bit case to declare an __attribute__((unused)) and __deprecated variable. The

Re: [PATCH] net: Use a more standard macro for INET_ADDR_COOKIE

2014-05-14 Thread David Miller
From: Joe Perches j...@perches.com Date: Wed, 14 May 2014 13:44:09 -0700 On Wed, 2014-05-14 at 16:08 -0400, David Miller wrote: From: Joe Perches j...@perches.com Date: Tue, 13 May 2014 20:30:07 -0700 Missing a colon on definition use is a bit odd so change the macro for the 32 bit case

[PATCH] net: Use a more standard macro for INET_ADDR_COOKIE

2014-05-13 Thread Joe Perches
Missing a colon on definition use is a bit odd so change the macro for the 32 bit case to declare an __attribute__((unused)) and __deprecated variable. The __deprecated attribute will cause gcc to emit an error if the variable is actually used. Signed-off-by: Joe Perches ---

[PATCH] net: Use a more standard macro for INET_ADDR_COOKIE

2014-05-13 Thread Joe Perches
Missing a colon on definition use is a bit odd so change the macro for the 32 bit case to declare an __attribute__((unused)) and __deprecated variable. The __deprecated attribute will cause gcc to emit an error if the variable is actually used. Signed-off-by: Joe Perches j...@perches.com ---