]> rtime.felk.cvut.cz Git - linux-imx.git/commit
firewire: sbp2: document the absence of alignment requirements
authorClemens Ladisch <clemens@ladisch.de>
Fri, 18 May 2012 20:26:21 +0000 (22:26 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 21 May 2012 19:49:44 +0000 (21:49 +0200)
commit26c72e22c94fbc28604c94e3a96fdae9c6fd0a42
tree9897f59fef9034951ce4b236da8820ea7e38a07a
parent935f672e02c8172a23bd3e54feafffcfcce39f0d
firewire: sbp2: document the absence of alignment requirements

The SBP-2/3 specifications do not require any alignment of data
buffers; only their own data structures need to be quadlet-aligned
[SR: or octlet-aligned].

Fix the comments to reflect this, but leave the actual alignment at
32 bits to avoid theoretical problems with target implementations
that might handle this incorrectly.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/sbp2.c