diff options
author | Johannes Berg <johannes.berg@intel.com> | 2023-06-14 12:41:31 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-06-19 12:05:26 +0200 |
commit | 568db7fd27fad183d186742dc7ae6ca211ba51ff (patch) | |
tree | e9a43a81e40d75ff2209126f9f5ab01af8d9d29d /drivers/net/wireless/intel/iwlwifi/fw/acpi.h | |
parent | ed0c34333dfb2e4a6bd9e25613040aaf9d48fb9d (diff) |
wifi: iwlwifi: add some FW misbehaviour check infrastructure
When the firmware misbehaves (according to the driver), we
often either ignore that, or WARN_ON, which is very noisy
but doesn't really help.
Add a little helper macro IWL_FW_CHECK() that can be used
in place of WARN_ON() in conditions, and make it take a
message that's printed in this case. We can also add more
behaviour to this in the future.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230614123446.2e12ac670cea.Ia0198036b7a626876d836bd41a4b2d2b1e65c5ca@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/acpi.h')
0 files changed, 0 insertions, 0 deletions