Re: [PATCH ath-next 2/6] wifi: ath11k: Register debugfs for CFR configuration

Baochen Qiang <[email protected]>
Newsgroups org.infradead.lists.ath11k,org.kernel.vger.linux-kernel,org.kernel.vger.linux-wireless
Message-ID <[email protected]>

On 10/30/2025 12:31 PM, Yu Zhang(Yuriy) wrote:

> @@ -88,6 +275,7 @@ void ath11k_cfr_deinit(struct ath11k_base *ab)
>  			ar = ab->pdevs[i].ar;
>  			cfr = &ar->cfr;
>  
> +			ath11k_cfr_debug_unregister(ar);
>  			ath11k_cfr_ring_free(ar);
>  
>  			spin_lock_bh(&cfr->lut_lock);
> @@ -140,6 +328,8 @@ int ath11k_cfr_init(struct ath11k_base *ab)
>  		}
>  
>  		cfr->lut_num = num_lut_entries;
> +
> +		ath11k_cfr_debug_register(ar);
>  	}
>  
>  	return 0;

miss _debug_unregister() in the error handling?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.