mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] wifi: ath11k: fix ioremap() leak
@ 2024-04-30 13:30 Jeff Johnson
  2024-04-30 13:30 ` [PATCH 1/2] wifi: ath11k: refactor CE remap & unmap Jeff Johnson
  2024-04-30 13:30 ` [PATCH 2/2] wifi: ath11k: unmap the CE in ath11k_ahb_probe() error path Jeff Johnson
  0 siblings, 2 replies; 4+ messages in thread
From: Jeff Johnson @ 2024-04-30 13:30 UTC (permalink / raw)
  To: Kalle Valo, Jeff Johnson
  Cc: linux-wireless, ath11k, linux-kernel, Jeff Johnson

smatch flagged the following issue:

drivers/net/wireless/ath/ath11k/ahb.c:1218 ath11k_ahb_probe() warn: 'ab->mem_ce' from ioremap() not released on lines: 1218.

Fix it by refactoring the ioremap and iounmap code and then calling the
unmap in the ath11k_ahb_probe() error path.

---
Jeff Johnson (2):
      wifi: ath11k: refactor CE remap & unmap
      wifi: ath11k: unmap the CE in ath11k_ahb_probe() error path

 drivers/net/wireless/ath/ath11k/ahb.c | 57 +++++++++++++++++++++++------------
 1 file changed, 38 insertions(+), 19 deletions(-)
---
base-commit: bf99bc7423e18aa3475ef00a7a6fb773c31ce6df
change-id: 20240427-ce-unmap-3030e38ba1bb


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-05-03 13:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-30 13:30 [PATCH 0/2] wifi: ath11k: fix ioremap() leak Jeff Johnson
2024-04-30 13:30 ` [PATCH 1/2] wifi: ath11k: refactor CE remap & unmap Jeff Johnson
2024-05-03 13:15   ` Kalle Valo
2024-04-30 13:30 ` [PATCH 2/2] wifi: ath11k: unmap the CE in ath11k_ahb_probe() error path Jeff Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®