summaryrefslogtreecommitdiff
path: root/sys/scsi/files.scsi
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2010-04-28 00:40:23 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2010-04-28 00:40:23 +0000
commit674a42e208f0a7a01da7e3b2c128e6cb47c6a61d (patch)
tree4cb928055f0893e8ff4bf4103f1c22aacd36a1a8 /sys/scsi/files.scsi
parentf70baac7b476ea686483e57a524d3ab29e60e752 (diff)
Deal with a non-incremented iterator by changing a
while (condition) { do_stuff() increment_condition /* this was missing */ } To a for loop like it always should have been. I have no idea what I was smoking when I wrote this function. Fixes the crash on hardware that does bit 17 swizzling (turns out the three I know of are all 945s) as soon as we first unbind an object. Thank you very much to Brandon Mercer for actually managing to get me a crash dump so i could debug this, and also for testing the fix.
Diffstat (limited to 'sys/scsi/files.scsi')
0 files changed, 0 insertions, 0 deletions