(Please keep me in CC, I'm not subscribed to the list)
After reading r6420.
Index: util/sconfig/main.c =================================================================== --- util/sconfig/main.c (revision 6421) +++ util/sconfig/main.c (working copy) @@ -415,14 +415,13 @@ static void inherit_subsystem_ids(FILE *file, struct device *dev) { struct device *p; - int i =0;
if (dev->subsystem_vendor != -1 && dev->subsystem_device != -1) { /* user already gave us a subsystem vendor/device */ return; }
- for(p = dev; p && p != p->parent; (p = p->parent), i++) { + for(p = dev; p && p != p->parent; p = p->parent) {
if (p->bustype != PCI && p->bustype != PCI_DOMAIN) continue;
Regards, Sylvain "ythier" Hitier
(Please keep me in CC, I'm not subscribed to the list)
After reading r6420.
Signed-off-by: Sylvain "ythier" Hitier sylvain.hitier@gmail.com
Index: util/sconfig/main.c =================================================================== --- util/sconfig/main.c (revision 6421) +++ util/sconfig/main.c (working copy) @@ -415,14 +415,13 @@ static void inherit_subsystem_ids(FILE *file, struct device *dev) { struct device *p; - int i =0;
if (dev->subsystem_vendor != -1 && dev->subsystem_device != -1) { /* user already gave us a subsystem vendor/device */ return; }
- for(p = dev; p && p != p->parent; (p = p->parent), i++) { + for(p = dev; p && p != p->parent; p = p->parent) {
if (p->bustype != PCI && p->bustype != PCI_DOMAIN) continue;
Regards, Sylvain "ythier" Hitier
Sylvain 'ythier' Hitier sylvain.hitier@gmail.com writes:
(Please keep me in CC, I'm not subscribed to the list)
After reading r6420.
Signed-off-by: Sylvain "ythier" Hitier sylvain.hitier@gmail.com
Index: util/sconfig/main.c
--- util/sconfig/main.c (revision 6421) +++ util/sconfig/main.c (working copy) @@ -415,14 +415,13 @@ static void inherit_subsystem_ids(FILE *file, struct device *dev) { struct device *p;
int i =0;
if (dev->subsystem_vendor != -1 && dev->subsystem_device != -1) { /* user already gave us a subsystem vendor/device */ return; }
for(p = dev; p && p != p->parent; (p = p->parent), i++) {
for(p = dev; p && p != p->parent; p = p->parent) {
if (p->bustype != PCI && p->bustype != PCI_DOMAIN) continue;
Regards, Sylvain "ythier" Hitier
r6424.
Thanks,
Sven.