HomeFreeBSD

sys/cam/scsi: unsigned some loop indexes.

Description

sys/cam/scsi: unsigned some loop indexes.

Although usually small, values produced by nitems() are unsigned.
By unsigning the corresponding indexes we avoid signed vs unsigned
comparisons. This may have some effect on performance, although given the
small sizes the effect will not be perceivable and it makes the code
clearer.

Details

Provenance
pfgAuthored on
Parents
rS299176: dev/usb: unsigned some loop indexes.
Branches
Unknown
Tags
Unknown