From: Clemens Ladisch Date: Wed, 31 Mar 2010 14:26:46 +0000 (+0200) Subject: firewire: cdev: require quadlet-aligned headers for transmit packets X-Git-Tag: v2.6.34-rc5~14^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=385ab5bcd4be586dffdba550b310308d89eade71;p=pandora-kernel.git firewire: cdev: require quadlet-aligned headers for transmit packets The definition of struct fw_cdev_iso_packet seems to imply that the header_length must be quadlet-aligned, and in fact, specifying an unaligned header has never really worked when using multiple packet structures, because the position of the next control word is computed by rounding the header_length _down_, so the last one to three bytes of the header would overlap the next control word. To avoid this problem, check that the header length is properly aligned. Signed-off-by: Clemens Ladisch Signed-off-by: Stefan Richter --- Reading git-diff-tree failed