smsc W=1 warning fixes
Status from this message: Applied, thank you!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest7 patches 1 replyApplied
- v27 patches 8 repliesSuperseded
- v17 patches 3 repliesSuperseded
Changes in v3 from the cover letter
Access the length from the hardware and Use __always_unused to tell the compiler we want to discard the value.
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | drivers: net: smc91x: Fix set but unused W=1 warningdrivers/ | +2 | 0 replies | |
| 2/7 | drivers: net: smc91x: Fix missing kerneldoc reported by W=1drivers/ | +6 | 0 replies | |
| 3/7 | drivers: net: smc911x: Work around set but unused statusdrivers/ | +2 | 0 replies | |
| 4/7 | drivers: net: smc911x: Fix set but unused status because of DBG macrodrivers/ | +4 | 0 replies | |
| 5/7 | drivers: net: smc911x: Fix passing wrong number of parameters to DBG() macrodrivers/ | +0 | 0 replies | |
| 6/7 | drivers: net: smc911x: Fix cast from pointer to integer of different sizedrivers/ | +3 | 0 replies | |
| 7/7 | drivers: net: smsc: Add COMPILE_TEST supportdrivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 net-next 0/7] smsc W=1 warning fixes
Fixup various W=1 warnings, and then add COMPILE_TEST support, which explains why these where missed on the previous pass.
v2:
Use while (0)
Rework buffer alignment to make it clearer
v3:
Access the length from the hardware and Use __always_unused to tell the compiler we want to discard the value.
Andrew Lunn (7):
drivers: net: smc91x: Fix set but unused W=1 warning
drivers: net: smc91x: Fix missing kerneldoc reported by W=1
drivers: net: smc911x: Work around set but unused status
drivers: net: smc911x: Fix set but unused status because of DBG macro
drivers: net: smc911x: Fix passing wrong number of parameters to DBG()
macro
drivers: net: smc911x: Fix cast from pointer to integer of different
size
drivers: net: smsc: Add COMPILE_TEST support
drivers/net/ethernet/smsc/Kconfig | 6 +++--- drivers/net/ethernet/smsc/smc911x.c | 17 +++++++++-------- drivers/net/ethernet/smsc/smc91x.c | 9 ++++++++- 3 files changed, 20 insertions(+), 12 deletions(-)
Signature · 1 line
2.29.2