diff options
author | rstone <rstone@FreeBSD.org> | 2015-03-01 04:26:47 +0000 |
---|---|---|
committer | rstone <rstone@FreeBSD.org> | 2015-03-01 04:26:47 +0000 |
commit | d495e9b4cfbc6d39d704d75ef0f271fe9335f2d1 (patch) | |
tree | 8cfce0cb9f6e43e9b1a23798887e1cf43edfdf3a /lib/libthr/thread/thr_kill.c | |
parent | 0b55a8c80a8931d02374a071f01ad9db0ef81d38 (diff) | |
download | FreeBSD-src-d495e9b4cfbc6d39d704d75ef0f271fe9335f2d1.zip FreeBSD-src-d495e9b4cfbc6d39d704d75ef0f271fe9335f2d1.tar.gz |
MFC r264091
Correct a PCI enumeration bug introduced in r264011
Ensure that first_func is set to 0 on every iteration of the PCI slot
enumeration loop after the first. There is a continue statement that would
cause first_func to stay at 1 any PCI device where slot 0 has no functions
until we find a slot that does have a function. This would cause us to
not enumerate the first PCI function on the device.
Credit to markj@ for spotting the bug.
X-MFC-With: r264011
Diffstat (limited to 'lib/libthr/thread/thr_kill.c')
0 files changed, 0 insertions, 0 deletions