[<prev] [next>] [day] [month] [year] [list]
Message-ID: <12B32ED3FD2801A5+20260111032136.7078-1-2023060904@ycu.edu.cn>
Date: Sun, 11 Jan 2026 11:21:33 +0800
From: 2023060904@....edu.cn
To: gregkh@...uxfoundation.org
Cc: linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org,
2023060904@....edu.cn,
guagua210311@...com
Subject: [PATCH v5 0/3] rtl8723bs: Remove redundant atomic op and replace global io error var
This patch series optimizes the IO error counting logic of the rtl8723bs wireless
driver by removing redundant atomic_t operations (unnecessary for non-concurrent scenarios) and replacing the global continual_io_error variable with local error counting. The series is split into logical patches (per Greg KH's review comment)
to ensure each patch fulfills a single, clear purpose, which greatly improves
reviewability and future maintainability.
Patch Breakdown:
1. 0001: Add independent rtw_check_continual_io_error function (single responsibility, includes old function cleanup)
2. 0002: Use local error_count in sd_read32/sd_write32 (eliminate global dependency, remove atomic ops)
3. 0003: Remove redundant global continual_io_error variable (clean up struct)
Thank you for your time and review!
Signed-off-by: changjun zheng <2023060904@....edu.cn>
---
Changelog from v1 to v2:
Initial draft: Implemented basic local error count logic, fixed compilation errors.
Changelog from v2 to v3:
Merged small patches into one, optimized function logic to remove redundant code.
Changelog from v3 to v4:
Split monolithic patch into single-purpose patches (per Greg's comment), fixed coding style.
Changelog from v4 to v5:
Fixed format errors (spaces around '=', trailing whitespace) per checkpatch.pl;
Standardized author name format (split "changjunzheng" to "Changjun Zheng");
Moved changelog to below the --- separator (kernel format rule).
Note: This v4 RESEND patch series is sent from my school mailbox (2023060904@....edu.cn) instead of the previous QQ mailbox, to resolve the email delivery rejection issue.
Powered by blists - more mailing lists