On Mon, 2011-07-11 at 10:37 -0700, Johannes Berg wrote: > On Fri, 2011-07-08 at 08:46 -0700, Wey-Yi Guy wrote: > > > + struct iwl_priv *priv = hw->priv; > > + u8 owner; > > + > > + if (!tb[IWL_TM_ATTR_UCODE_OWNER]) { > > This causes a compile warning because iwl_testmode_cmd() has > struct nlattr *tb[IWL_TM_ATTR_MAX - 1]; > > and the -1 shouldn't be there. > ouch, I will submit separate patch to fix it. Thanks Wey > -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html