aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire')
-rw-r--r--drivers/firewire/core-transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/core-transaction.c b/drivers/firewire/core-transaction.c
index 6f225cacbc3d..ca7ca56661e0 100644
--- a/drivers/firewire/core-transaction.c
+++ b/drivers/firewire/core-transaction.c
@@ -543,8 +543,8 @@ int fw_core_add_address_handler(struct fw_address_handler *handler,
543 int ret = -EBUSY; 543 int ret = -EBUSY;
544 544
545 if (region->start & 0xffff000000000003ULL || 545 if (region->start & 0xffff000000000003ULL ||
546 region->end & 0xffff000000000003ULL ||
547 region->start >= region->end || 546 region->start >= region->end ||
547 region->end > 0x0001000000000000ULL ||
548 handler->length & 3 || 548 handler->length & 3 ||
549 handler->length == 0) 549 handler->length == 0)
550 return -EINVAL; 550 return -EINVAL;