firewire: core: make address handler length 64 bits
authorClemens Ladisch <clemens@ladisch.de>
Thu, 24 May 2012 17:28:17 +0000 (19:28 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 27 May 2012 10:31:11 +0000 (12:31 +0200)
commit188726ecb66f022e92ec110ca85c62a937184636
treed87280b2c1e1c617452ab982146069d63ecdcdba
parent26c72e22c94fbc28604c94e3a96fdae9c6fd0a42
firewire: core: make address handler length 64 bits

The type of the length field of the fw_address_handler structure was
size_t, which restricted it to 32 bits on 32-bit architectures.

While making it u32 would match the userspace API, all calculations on
this field use 64 bits anyway, and the ability to use 4 GB or larger
address ranges is useful in the kernel.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
include/linux/firewire.h