Fix sff panic deadlock, share the evdev probe, assorted review cleanups

This commit is contained in:
flamingcow
2026-08-31 15:51:52 -07:00
parent 10d97ee82a
commit e4731c94cd
13 changed files with 205 additions and 272 deletions
+2 -3
View File
@@ -23,8 +23,7 @@ type endpoint struct {
}
func (e endpoint) macString() string {
return fmt.Sprintf("%02x:%02x:%02x:%02x:%02x:%02x",
e.mac[0], e.mac[1], e.mac[2], e.mac[3], e.mac[4], e.mac[5])
return net.HardwareAddr(e.mac[:]).String()
}
func lookupEndpoint(name string) (endpoint, error) {
@@ -223,7 +222,7 @@ func run(aName, bName string) (err error) {
if err != nil {
return err
}
checks = append(checks, moduleChecks(modules, [2]string{a.name, b.name})...)
checks = append(checks, moduleChecks(modules)...)
if err := reportChecks("SETTINGS", checks); err != nil {
return err
}