aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/firewire.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2012-05-24 13:28:17 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2012-05-27 06:31:11 -0400
commit188726ecb66f022e92ec110ca85c62a937184636 (patch)
treed87280b2c1e1c617452ab982146069d63ecdcdba /include/linux/firewire.h
parent26c72e22c94fbc28604c94e3a96fdae9c6fd0a42 (diff)
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>
Diffstat (limited to 'include/linux/firewire.h')
-rw-r--r--include/linux/firewire.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/firewire.h b/include/linux/firewire.h
index 584826ba2eb7..d77f60c6d1ed 100644
--- a/include/linux/firewire.h
+++ b/include/linux/firewire.h
@@ -307,7 +307,7 @@ struct fw_transaction {
307 307
308struct fw_address_handler { 308struct fw_address_handler {
309 u64 offset; 309 u64 offset;
310 size_t length; 310 u64 length;
311 fw_address_callback_t address_callback; 311 fw_address_callback_t address_callback;
312 void *callback_data; 312 void *callback_data;
313 struct list_head link; 313 struct list_head link;