Use offsetof() instead of a hard-coded constant for readability.
authorPeter Avalos <pavalos@dragonflybsd.org>
Wed, 28 Nov 2007 22:21:48 +0000 (22:21 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Wed, 28 Nov 2007 22:21:48 +0000 (22:21 +0000)
commit338d394261298b2efb4c13afaa5722c629e929d7
tree38df82ce5842ab8a0fdfdcd92a841567d51b6344
parentdbb139dc14fbc0ddbd2cac72d7bb36c5d3e87b1a
Use offsetof() instead of a hard-coded constant for readability.

Round odd long inquiry lengths up so as to avoid tickling ignore
wide residue bugs in broken parallel SCSI devices running with a
wide transfer negotiation.

Obtained-from: FreeBSD
sys/bus/cam/cam_xpt.c