misc: pch_phub: Fix fallout and more cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | misc: pch_phub: Complete enum usage for device identificationdrivers/ | +10 | 0 replies | |
| 2/3 | misc: pch_phub: Drop unused members from struct pch_phub_regdrivers/ | +0 | 0 replies | |
| 3/3 | misc: pch_phub: Make MAC address configuration more robustdrivers/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/3] misc: pch_phub: Fix fallout and more cleanup
Hello,
Sashiko found a relevant issue in the patch that became 7b1d4ad96ea4 ("misc: pch_phub: Introduce an enum for device indentification"). This is fixed in the first patch.
The second patch is a follow-up to commit d14b649fd99f ("misc: pch_phub:
Drop two unused functions") that drops now unused struct members.
The third patch fixes an inconsistency in device handling. The comment suggest that ML7213 isn't handled, the code just falls back in the else branch for it. Make variant handling more explicit using a switch statement. If a new device is added without adapting pch_phub_write_gbe_mac_addr() a compiler warning is triggered.
Best regards
Uwe
Uwe Kleine-König (The Capable Hub) (3):
misc: pch_phub: Complete enum usage for device identification
misc: pch_phub: Drop unused members from struct pch_phub_reg
misc: pch_phub: Make MAC address configuration more robust
drivers/misc/pch_phub.c | 59 ++++++++++++++--------------------------- 1 file changed, 20 insertions(+), 39 deletions(-)
base-commit: 7b1d4ad96ea47b3275328fa385d0497e164f1f5f
Signature · 1 line
2.47.3