iwlwifi: Demote messages about fw flags size to info
authorJoão Paulo Rechi Vita <jprvita@gmail.com>
Thu, 3 Aug 2017 14:47:28 +0000 (07:47 -0700)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 18 Aug 2017 13:13:18 +0000 (16:13 +0300)
These messages are not reporting a real error, just the fact that the
firmware knows about more flags than the driver.

Currently these messages are presented to the user during boot if there
is no bootsplash covering the console, even when booting the kernel with
"quiet".

Demoting it to the warn level helps having a clean boot process.

Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-drv.c

index cdb7656..bd3902f 100644 (file)
@@ -487,9 +487,9 @@ static void iwl_set_ucode_api_flags(struct iwl_drv *drv, const u8 *data,
        int i;
 
        if (api_index >= DIV_ROUND_UP(NUM_IWL_UCODE_TLV_API, 32)) {
-               IWL_ERR(drv,
-                       "api flags index %d larger than supported by driver\n",
-                       api_index);
+               IWL_WARN(drv,
+                        "api flags index %d larger than supported by driver\n",
+                        api_index);
                return;
        }
 
@@ -508,9 +508,9 @@ static void iwl_set_ucode_capabilities(struct iwl_drv *drv, const u8 *data,
        int i;
 
        if (api_index >= DIV_ROUND_UP(NUM_IWL_UCODE_TLV_CAPA, 32)) {
-               IWL_ERR(drv,
-                       "capa flags index %d larger than supported by driver\n",
-                       api_index);
+               IWL_WARN(drv,
+                        "capa flags index %d larger than supported by driver\n",
+                        api_index);
                return;
        }