Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=350958f984268dcf0f087aac78c5b9fe2846aeff
Commit:     350958f984268dcf0f087aac78c5b9fe2846aeff
Parent:     9a60731d0036a6c6c265acd4248c17fd24fc8e13
Author:     Jeff Garzik <[EMAIL PROTECTED]>
AuthorDate: Sun May 27 07:09:18 2007 -0400
Committer:  Stefan Richter <[EMAIL PROTECTED]>
CommitDate: Sun May 27 23:21:01 2007 +0200

    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: Jeff Garzik <[EMAIL PROTECTED]>
    Signed-off-by: Stefan Richter <[EMAIL PROTECTED]>
---
 drivers/firewire/fw-cdev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/firewire/fw-cdev.c b/drivers/firewire/fw-cdev.c
index 0fa5bd5..3ab3585 100644
--- a/drivers/firewire/fw-cdev.c
+++ b/drivers/firewire/fw-cdev.c
@@ -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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to