Re: [PATCH] smsc: replace WARN_ON() with WARN_ON_SMP()
From: Greg KH
Date: Mon Aug 11 2014 - 04:20:56 EST
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 <Sanjeev_Sharma@xxxxxxxxxx>
> ---
> drivers/net/ethernet/smsc/smsc911x.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Hint, I have nothing to do with this file, no need to send a patch for
it to me, I can't do anything with it...
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/