mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/3] misc: pch_phub: Fix fallout and more cleanup
@ 2026-05-26  8:52 Uwe Kleine-König (The Capable Hub)
  2026-05-26  8:52 ` [PATCH v1 1/3] misc: pch_phub: Complete enum usage for device identification Uwe Kleine-König (The Capable Hub)
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Uwe Kleine-König (The Capable Hub) @ 2026-05-26  8:52 UTC (permalink / raw)
  To: Arnd Bergmann, Greg Kroah-Hartman; +Cc: linux-kernel

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
-- 
2.47.3


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-05-26  8:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-26  8:52 [PATCH v1 0/3] misc: pch_phub: Fix fallout and more cleanup Uwe Kleine-König (The Capable Hub)
2026-05-26  8:52 ` [PATCH v1 1/3] misc: pch_phub: Complete enum usage for device identification Uwe Kleine-König (The Capable Hub)
2026-05-26  8:52 ` [PATCH v1 2/3] misc: pch_phub: Drop unused members from struct pch_phub_reg Uwe Kleine-König (The Capable Hub)
2026-05-26  8:52 ` [PATCH v1 3/3] misc: pch_phub: Make MAC address configuration more robust Uwe Kleine-König (The Capable Hub)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®