K 10 svn:author V 3 ian K 8 svn:date V 27 2020-01-08T22:45:32.461734Z K 7 svn:log V 359 Init sc->maxbus to -1, not 0. It represents the highest array index that has a non-NULL child bus stored in it, so the "none" value can't be zero since that's a valid array index. Also, when adding all possible buses because there is no specific per-bus config, there's no need to reset sc->maxbus on each loop iteration, it can be set once after the loop. END