Replace memcpy with ether_addr_copy and fix checkpatch warning
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 1 replyIn review
- v2 posting 2/25 patches 2 repliesSuperseded
- v2 posting 1/22 of 5 patches 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 5 patches | 4 replies | Superseded |
Changes in v3 from the cover letter
- Abandoned patch 5/5 in v2 as it caused warnings during build.
- Edited commit message in patch 3 to include structure layout.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Staging: rtl8192e: Replace memcpy with ether_addr_copydrivers/ | +3 | 1 reply | |
| 2/4 | Staging: rtl8192e: Use ether_addr_copy instead of memcpydrivers/ | +6 | 0 replies | |
| 3/4 | Staging: rtl8192e: Use ether_addr_copy replacing memcpydrivers/ | +6 | 0 replies | |
| 4/4 | Staging: rtl8192e: Use ether_addr_copy for aligned addressesdrivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/4] Replace memcpy with ether_addr_copy and fix checkpatch warning
This patch set replaces memcpy with ether_addr_copy if the addresses of the structures are aligned. Structure layout is shown by using the Pahole tool.
This patch set fixes the following warning reported by checkpatch:
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2)
Darshana Padmadas (4):
Changes in v3:
- Abandoned patch 5/5 in v2 as it caused warnings during build.
- Edited commit message in patch 3 to include structure layout.
Staging: rtl8192e: Replace memcpy with ether_addr_copy
Staging: rtl8192e: Use ether_addr_copy instead of memcpy
Staging: rtl8192e: Use ether_addr_copy replacing memcpy
Staging: rtl8192e: Use ether_addr_copy for aligned addresses
drivers/staging/rtl8192e/rtl819x_BAProc.c | 5 +++-- drivers/staging/rtl8192e/rtllib_crypt_tkip.c | 12 ++++++------ drivers/staging/rtl8192e/rtllib_softmac.c | 12 ++++++------ drivers/staging/rtl8192e/rtllib_tx.c | 6 +++--- 4 files changed, 18 insertions(+), 17 deletions(-)
Signature · 1 line
1.9.1