]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iwlwifi: add fall through comment
authorJohannes Berg <johannes.berg@intel.com>
Mon, 18 Jun 2018 08:22:03 +0000 (10:22 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Sat, 6 Oct 2018 07:25:51 +0000 (10:25 +0300)
The fall-through to the MVM case is intended as we have to do
*something* to continue, and can't easily clean up. So we'll
just fail in mvm later, if this does happen.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-drv.c

index 809f8daa5c1052f9af4b5ce575476250d1e5e311..ba41d23b421194f0d9203a8a60d46fb8b985f696 100644 (file)
@@ -1471,6 +1471,7 @@ static void iwl_req_fw_callback(const struct firmware *ucode_raw, void *context)
                break;
        default:
                WARN(1, "Invalid fw type %d\n", fw->type);
+               /* fall through */
        case IWL_FW_MVM:
                op = &iwlwifi_opmode_table[MVM_OP_MODE];
                break;