diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2010-04-12 11:58:59 +0900 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-04-20 17:15:41 +0000 |
commit | 470e63633f371611c1a03ffe4229eadccfbe013b (patch) | |
tree | b3ec7df2b3086fc226be8ecafa8fb1f00c13f608 /audio/alsaaudio.c | |
parent | ab07b980c442b4f94f8fe9c236d7702c19bf2c74 (diff) | |
download | qemu-470e63633f371611c1a03ffe4229eadccfbe013b.zip qemu-470e63633f371611c1a03ffe4229eadccfbe013b.tar.gz qemu-470e63633f371611c1a03ffe4229eadccfbe013b.tar.bz2 |
pci: fix pci_find_bus().
When looking down child bus, it should look parent bridge's
bus number, not child bus's.
Optimized tail recursion and style fix.
Cc: Blue Swirl <blauwirbel@gmail.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'audio/alsaaudio.c')
0 files changed, 0 insertions, 0 deletions