Message ID | 1333951187-4395-1-git-send-email-santoshprasadnayak@gmail.com |
---|---|
State | Changes Requested, archived |
Delegated to: | David Miller |
Headers | show |
You haven't told me what tree these two patches should be applied to, so I am dropping them both. Resubmit with a proper destination tree indication. Thanks. -- 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 75c32e8..d30b9b8 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c @@ -2787,6 +2787,11 @@ qlcnic_can_start_firmware(struct qlcnic_adapter *adapter) case QLCNIC_DEV_INITIALIZING: case QLCNIC_DEV_QUISCENT: break; + + default: + dev_err(&adapter->pdev->dev, "Invalid state\n"); + qlcnic_api_unlock(adapter); + return -EINVAL; } qlcnic_api_unlock(adapter);