diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2012-11-21 05:38:13 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-11-21 05:38:13 -0500 |
commit | 851462444d421c223965b12b836bef63da61b57f (patch) | |
tree | 495baa14e638817941496c36e1443aed7dae0ea0 /drivers/firewire/core-cdev.c | |
parent | 5a6ea4af0907f995dc06df21a9c9ef764c7cd3bc (diff) | |
parent | 6924d99fcdf1a688538a3cdebd1f135c22eec191 (diff) |
Merge branch 'for-3.7' of git://git.infradead.org/users/dedekind/l2-mtd
Conflicts:
drivers/mtd/nand/nand_base.c
Diffstat (limited to 'drivers/firewire/core-cdev.c')
-rw-r--r-- | drivers/firewire/core-cdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firewire/core-cdev.c b/drivers/firewire/core-cdev.c index 2783f69dada6..f8d22872d753 100644 --- a/drivers/firewire/core-cdev.c +++ b/drivers/firewire/core-cdev.c | |||
@@ -473,8 +473,8 @@ static int ioctl_get_info(struct client *client, union ioctl_arg *arg) | |||
473 | client->bus_reset_closure = a->bus_reset_closure; | 473 | client->bus_reset_closure = a->bus_reset_closure; |
474 | if (a->bus_reset != 0) { | 474 | if (a->bus_reset != 0) { |
475 | fill_bus_reset_event(&bus_reset, client); | 475 | fill_bus_reset_event(&bus_reset, client); |
476 | ret = copy_to_user(u64_to_uptr(a->bus_reset), | 476 | /* unaligned size of bus_reset is 36 bytes */ |
477 | &bus_reset, sizeof(bus_reset)); | 477 | ret = copy_to_user(u64_to_uptr(a->bus_reset), &bus_reset, 36); |
478 | } | 478 | } |
479 | if (ret == 0 && list_empty(&client->link)) | 479 | if (ret == 0 && list_empty(&client->link)) |
480 | list_add_tail(&client->link, &client->device->client_list); | 480 | list_add_tail(&client->link, &client->device->client_list); |