aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/fw/runtime.h
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2022-01-30 09:52:59 +0000
committerLuca Coelho <[email protected]>2022-02-18 08:40:52 +0000
commitf5cdcb866741bebc36b2f41d595b8272f308b4c5 (patch)
treef04e4aacf0132e9efffffc25a32750cede014968 /drivers/net/wireless/intel/iwlwifi/fw/runtime.h
parentiwlwifi: pcie: make sure iwl_rx_packet_payload_len() will not underflow (diff)
downloadkernel-f5cdcb866741bebc36b2f41d595b8272f308b4c5.tar.gz
kernel-f5cdcb866741bebc36b2f41d595b8272f308b4c5.zip
iwlwifi: fw: make dump_start callback void
We never return errors there, so just make it void. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Luca Coelho <[email protected]> Link: https://lore.kernel.org/r/iwlwifi.20220130115024.375b3a28d89e.Ia76e9bf13e26eb148abfebdaf859eab1b81d2af1@changeid Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/runtime.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/fw/runtime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/runtime.h b/drivers/net/wireless/intel/iwlwifi/fw/runtime.h
index 3cb0ddbe3ab2..afc822cab674 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/runtime.h
+++ b/drivers/net/wireless/intel/iwlwifi/fw/runtime.h
@@ -16,7 +16,7 @@
#include "fw/acpi.h"
struct iwl_fw_runtime_ops {
- int (*dump_start)(void *ctx);
+ void (*dump_start)(void *ctx);
void (*dump_end)(void *ctx);
bool (*fw_running)(void *ctx);
int (*send_hcmd)(void *ctx, struct iwl_host_cmd *host_cmd);