From: Jeff Kirsher <jeffrey.t.kirs...@intel.com>
Date: Fri, 16 Oct 2015 22:28:15 -0700

>  
> +     WARN(!spin_is_locked(&vsi->mac_filter_list_lock),
> +          "Missing mac_filter_list_lock\n");
> +

spin_is_locked() is, generally speaking, completely inappropriate to
use in assertions.

Because, on uniprocessor builds, it always evalutes to zero.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to