]> git.baikalelectronics.ru Git - kernel.git/commit
smsc: replace WARN_ON() with WARN_ON_SMP()
authorSanjeev Sharma <sanjeev_sharma@mentor.com>
Mon, 11 Aug 2014 08:16:23 +0000 (13:46 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Aug 2014 21:38:29 +0000 (14:38 -0700)
commit438e06b09c32562277006e7bf9c8bfd3040c4594
tree6fec070b8d5ae58c55b6500f5a4665d03dc3d542
parent88da1973a2d834168dc630b9eddbcfa18f50fbc0
smsc: replace WARN_ON() with WARN_ON_SMP()

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 <Sanjeev_Sharma@mentor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smsc911x.h