From: Ameen Ali <ameenali...@gmail.com> Date: Wed, 25 Feb 2015 23:56:43 +0200
> @@ -822,7 +822,7 @@ qlcnic_dcb_get_pg_tc_cfg_tx(struct net_device *netdev, > int tc, u8 *prio, > if (temp->valid && (pg == temp->pgid)) > cnt++; > } > - > + if(cnt != 0) > tc_cfg->bwg_percent = (100 / cnt); This is not acceptable. Your conditional expression is not spaced properly, there must be a space between "if" and the openning parenthesis of the condition. You also must properly re-indent the statement the new if() condition is protecting. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/