Message ID | 1357204215-17607-2-git-send-email-sony.chacko@qlogic.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Sony Chacko <sony.chacko@qlogic.com> Date: Thu, 3 Jan 2013 04:10:15 -0500 > From: Sony Chacko <sony.chacko@qlogic.com> > > Fix the following error reported by kbuild test robot. > static declaration of 'qlcnic_restore_indev_addr' follows > non-static declaration. > > Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com> > Signed-off-by: Sony Chacko <sony.chacko@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_main.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c index e1a3625..7d13aec 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c @@ -3299,8 +3299,7 @@ static struct notifier_block qlcnic_inetaddr_cb = { .notifier_call = qlcnic_inetaddr_event, }; #else -static void -qlcnic_restore_indev_addr(struct net_device *dev, unsigned long event) +void qlcnic_restore_indev_addr(struct net_device *dev, unsigned long event) { } #endif static struct pci_error_handlers qlcnic_err_handler = {