diff options
Diffstat (limited to 'drivers/firewire/fw-device-cdev.c')
-rw-r--r-- | drivers/firewire/fw-device-cdev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/firewire/fw-device-cdev.c b/drivers/firewire/fw-device-cdev.c index 5437ad245a3..68428d013d8 100644 --- a/drivers/firewire/fw-device-cdev.c +++ b/drivers/firewire/fw-device-cdev.c @@ -290,6 +290,8 @@ static int ioctl_get_info(struct client *client, void __user *arg) return -EFAULT; } + get_info.card = client->device->card->index; + if (copy_to_user(arg, &get_info, sizeof get_info)) return -EFAULT; |