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

Commit 350958f9 authored by Jeff Garzik's avatar Jeff Garzik Committed by Stefan Richter
Browse files

firewire: fix return code



Fix this warning on x86-64

drivers/firewire/fw-cdev.c:798: warning: initialization from incompatible pointer type

by making the return code of ioctl_send_request() the same as all the
other ioctl_xxx() return codes.

Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 9a60731d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -365,7 +365,7 @@ complete_transaction(struct fw_card *card, int rcode,
		    response->response.data, response->response.length);
}

static ssize_t ioctl_send_request(struct client *client, void *buffer)
static int ioctl_send_request(struct client *client, void *buffer)
{
	struct fw_device *device = client->device;
	struct fw_cdev_send_request *request = buffer;