Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99692f71 authored by Stefan Richter's avatar Stefan Richter
Browse files

firewire: fix ioctl() return code



Reported by Jay Fenlason:  ioctl() did not return as intended
  - the size of data read into ioctl_send_request,
  - the number of datagrams enqueued by ioctl_queue_iso.

Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 7a100344
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -913,7 +913,7 @@ dispatch_ioctl(struct client *client, unsigned int cmd, void __user *arg)
			return -EFAULT;
	}

	return 0;
	return retval;
}

static long