diff options
Diffstat (limited to 'drivers/firewire/fw-card.c')
-rw-r--r-- | drivers/firewire/fw-card.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-card.c b/drivers/firewire/fw-card.c index 34863b6..3eb0655 100644 --- a/drivers/firewire/fw-card.c +++ b/drivers/firewire/fw-card.c @@ -160,7 +160,7 @@ fw_core_add_descriptor (struct fw_descriptor *desc) i += (desc->data[i] >> 16) + 1; if (i != desc->length) - return -1; + return -EINVAL; down_write(&fw_bus_type.subsys.rwsem); |