Message ID | 1378199257-9514-1-git-send-email-sucheta.chakraborty@qlogic.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com> Date: Tue, 3 Sep 2013 05:07:37 -0400 > This patch fixes warning "warning: symbol 'qlcnic_set_dcb_ops' was > not declared. Should it be static?" > > Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c index 2e10e79..d62d5ce 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c @@ -248,7 +248,7 @@ static inline void __qlcnic_init_dcbnl_ops(struct qlcnic_adapter *adapter) adapter->netdev->dcbnl_ops = &qlcnic_dcbnl_ops; } -void qlcnic_set_dcb_ops(struct qlcnic_adapter *adapter) +static void qlcnic_set_dcb_ops(struct qlcnic_adapter *adapter) { if (qlcnic_82xx_check(adapter)) adapter->dcb->ops = &qlcnic_82xx_dcb_ops;
This patch fixes warning "warning: symbol 'qlcnic_set_dcb_ops' was not declared. Should it be static?" Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com> --- drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)