RE: [PATCH] smsc: replace WARN_ON() with WARN_ON_SMP()

2014-08-11 Thread Sharma, Sanjeev
Thanks ! -Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Tuesday, August 12, 2014 3:09 AM To: Sharma, Sanjeev Cc: gre...@linuxfoundation.org; steve.glendinn...@shawell.net; net...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] smsc: replace

Re: [PATCH] smsc: replace WARN_ON() with WARN_ON_SMP()

2014-08-11 Thread David Miller
From: Sanjeev Sharma Date: Mon, 11 Aug 2014 13:46:23 +0530 > spin_is_locked() always return false in uniprocessor configuration and > therefore it > would be advise to repalce with WARN_ON_SMP(). > > Signed-off-by: Sanjeev Sharma This looks fine, applied, thanks. -- To unsubscribe from this l

RE: [PATCH] smsc: replace WARN_ON() with WARN_ON_SMP()

2014-08-11 Thread Sharma, Sanjeev
: Re: [PATCH] smsc: replace WARN_ON() with WARN_ON_SMP() On Mon, Aug 11, 2014 at 01:46:23PM +0530, Sanjeev Sharma wrote: > spin_is_locked() always return false in uniprocessor configuration and > therefore it would be advise to repalce with WARN_ON_SMP(). > > Signed-off-by: Sa

Re: [PATCH] smsc: replace WARN_ON() with WARN_ON_SMP()

2014-08-11 Thread Greg KH
On Mon, Aug 11, 2014 at 01:46:23PM +0530, Sanjeev Sharma wrote: > spin_is_locked() always return false in uniprocessor configuration and > therefore it > would be advise to repalce with WARN_ON_SMP(). > > Signed-off-by: Sanjeev Sharma > --- > drivers/net/ethernet/smsc/smsc911x.h | 2 +- > 1 fil