From 66dea3e5f69abfdfa46b091ea117e497758351e7 Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Wed, 28 Mar 2007 21:26:42 +0200 Subject: firewire: Add ioctls to add and remove config rom descriptors. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kristian Høgsberg Signed-off-by: Stefan Richter (fixed whitespace) --- drivers/firewire/fw-card.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/firewire/fw-card.c') diff --git a/drivers/firewire/fw-card.c b/drivers/firewire/fw-card.c index 34863b60e23..3eb06556a0c 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); -- cgit v1.2.3-70-g09d2