[PATCH 0/2] wifi: ath10k: clean up structure initialization

Zhongqiu Han posted 2 patches 3 months, 1 week ago
drivers/net/wireless/ath/ath10k/core.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
[PATCH 0/2] wifi: ath10k: clean up structure initialization
Posted by Zhongqiu Han 3 months, 1 week ago
This patchset simplifies structure initialization in ath10k by replacing
explicit memset() calls with zero initializers (`= {}`) for local
variables.

Patch 1 updates the initialization of `pm_qos_request` in
ath10k_download_fw().

Patch 2 updates the initialization of `bmi_target_info` in
ath10k_core_probe_fw().

These changes improve code clarity and efficiency by avoiding unnecessary
runtime memset calls.

Zhongqiu Han (2):
  wifi: ath10k: use = {} to initialize pm_qos_request instead of memset
  wifi: ath10k: use = {} to initialize bmi_target_info instead of memset

 drivers/net/wireless/ath/ath10k/core.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

-- 
2.43.0
Re: [PATCH 0/2] wifi: ath10k: clean up structure initialization
Posted by Jeff Johnson 3 months, 1 week ago
On Thu, 30 Oct 2025 21:00:21 +0800, Zhongqiu Han wrote:
> This patchset simplifies structure initialization in ath10k by replacing
> explicit memset() calls with zero initializers (`= {}`) for local
> variables.
> 
> Patch 1 updates the initialization of `pm_qos_request` in
> ath10k_download_fw().
> 
> [...]

Applied, thanks!

[1/2] wifi: ath10k: use = {} to initialize pm_qos_request instead of memset
      commit: 877f9c22fdf424c657de757bfe8543cf77461324
[2/2] wifi: ath10k: use = {} to initialize bmi_target_info instead of memset
      commit: 059ca8fd692b67a77fb89e9d4e8f57cf08e32b08

Best regards,
-- 
Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Re: [PATCH 0/2] wifi: ath10k: clean up structure initialization
Posted by Vasanthakumar Thiagarajan 3 months, 1 week ago

On 10/30/2025 6:30 PM, Zhongqiu Han wrote:
> This patchset simplifies structure initialization in ath10k by replacing
> explicit memset() calls with zero initializers (`= {}`) for local
> variables.
> 
> Patch 1 updates the initialization of `pm_qos_request` in
> ath10k_download_fw().
> 
> Patch 2 updates the initialization of `bmi_target_info` in
> ath10k_core_probe_fw().
> 
> These changes improve code clarity and efficiency by avoiding unnecessary
> runtime memset calls.
> 
> Zhongqiu Han (2):
>    wifi: ath10k: use = {} to initialize pm_qos_request instead of memset
>    wifi: ath10k: use = {} to initialize bmi_target_info instead of memset
> 
>   drivers/net/wireless/ath/ath10k/core.c | 8 ++------
>   1 file changed, 2 insertions(+), 6 deletions(-)

Branch name is missing, with that addressed

Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>