Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40a76905 authored by Emmanuel Grumbach's avatar Emmanuel Grumbach
Browse files

iwlwifi: pcie: warn if extern fw_debug buffer failed



Otherwise we have no way to know that the buffer hasn't been
allocated.

Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent 77d96730
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ static void iwl_pcie_alloc_fw_monitor(struct iwl_trans *trans)
		break;
	}

	if (!page)
	if (WARN_ON_ONCE(!page))
		return;

	trans_pcie->fw_mon_page = page;