From: Kristian Høgsberg Date: Wed, 7 Mar 2007 17:12:53 +0000 (-0500) Subject: firewire: Add generation field to send_request ioctl struct. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=97e352753820c62fca6d46723e0591e1ff6a3b22;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git firewire: Add generation field to send_request ioctl struct. Signed-off-by: Kristian Høgsberg Signed-off-by: Stefan Richter --- diff --git a/drivers/firewire/fw-device-cdev.c b/drivers/firewire/fw-device-cdev.c index 68428d013d8d..7b0efccf78f1 100644 --- a/drivers/firewire/fw-device-cdev.c +++ b/drivers/firewire/fw-device-cdev.c @@ -359,7 +359,7 @@ static ssize_t ioctl_send_request(struct client *client, void __user *arg) fw_send_request(device->card, &response->transaction, request.tcode & 0x1f, device->node->node_id, - device->card->generation, + request.generation, device->node->max_speed, request.offset, response->response.data, request.length, diff --git a/drivers/firewire/fw-device-cdev.h b/drivers/firewire/fw-device-cdev.h index 0cc4b082257f..f1c4b74eb09b 100644 --- a/drivers/firewire/fw-device-cdev.h +++ b/drivers/firewire/fw-device-cdev.h @@ -151,6 +151,7 @@ struct fw_cdev_send_request { __u64 offset; __u64 closure; __u64 data; + __u32 generation; }; struct fw_cdev_send_response {