]> git.neil.brown.name Git - history.git/commit
Fix "bus_for_each_dev()" and "bus_for_each_drv()", which did not
authorLinus Torvalds <torvalds@home.osdl.org>
Thu, 12 Feb 2004 05:00:34 +0000 (21:00 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 12 Feb 2004 05:00:34 +0000 (21:00 -0800)
commita3500b9e955d47891e57587c30006de83a3591f5
tree60a66bb8c96de9e1a2f32e9ac6b81a4e401a6445
parent282f037f31508ee52ffa1bcdaf2e140b4f255805
Fix "bus_for_each_dev()" and "bus_for_each_drv()", which did not
correctly handle the "restart from this device/driver" case, and
caused oopses with ieee1394.

This just uses "list_for_each_entry_continue()" instead.

Add helper macro to make usage of "list_for_each_entry_continue()"
a bit more readable.
drivers/base/bus.c
include/linux/list.h