firewire: Add ioctls to add and remove config rom descriptors.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (fixed whitespace)
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 @@
 		i += (desc->data[i] >> 16) + 1;
 
 	if (i != desc->length)
-		return -1;
+		return -EINVAL;
 
 	down_write(&fw_bus_type.subsys.rwsem);