Coccinelle release-1.0.0-rc11
[bpt/coccinelle.git] / tests / iterator.c
1 void pcibios_report_status(u_int status_mask, int warn)
2 {
3 struct list_head *l;
4
5 list_for_each(l, &pci_root_buses) {
6 struct pci_bus *bus = pci_bus_b(l);
7
8 pcibios_bus_report_status(bus, status_mask, warn);
9 }
10 }