Kangjie Lu wrote:
> ath10k_bmi_write32 and ath10k_bmi_read32 can fail. The fix
> checks their statuses to avoid potential undefined behaviors.
>
> Signed-off-by: Kangjie Lu
> Signed-off-by: Kalle Valo
Patch applied to ath-next branch of ath.git, thanks.
8da96730331d ath10k: fix missing
Kangjie Lu writes:
> ath10k_bmi_write32 and ath10k_bmi_read32 can fail. The fix
> checks their statuses to avoid potential undefined behaviors.
>
> Signed-off-by: Kangjie Lu
[...]
> @@ -2500,8 +2515,15 @@ int ath10k_core_start(struct ath10k *ar, enum
> ath10k_firmware_mode mode,
>
Kangjie Lu writes:
> ath10k_bmi_write32 and ath10k_bmi_read32 can fail. The fix
> checks their statuses to avoid potential undefined behaviors.
>
> Signed-off-by: Kangjie Lu
The title prefix should be "ath10k: ", I'll fix that.
--
Kalle Valo
___
ath10k_bmi_write32 and ath10k_bmi_read32 can fail. The fix
checks their statuses to avoid potential undefined behaviors.
Signed-off-by: Kangjie Lu
---
drivers/net/wireless/ath/ath10k/core.c | 40 --
1 file changed, 31 insertions(+), 9 deletions(-)
diff --git