aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ata/libata-acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-acpi.c b/drivers/ata/libata-acpi.c
index f2fd0dda70f2..b4e8be5d292c 100644
--- a/drivers/ata/libata-acpi.c
+++ b/drivers/ata/libata-acpi.c
@@ -672,7 +672,7 @@ int ata_acpi_push_id(struct ata_port *ap, unsigned int ix)
672 input.count = 1; 672 input.count = 1;
673 input.pointer = in_params; 673 input.pointer = in_params;
674 in_params[0].type = ACPI_TYPE_BUFFER; 674 in_params[0].type = ACPI_TYPE_BUFFER;
675 in_params[0].buffer.length = sizeof(atadev->id[0] * ATA_ID_WORDS); 675 in_params[0].buffer.length = sizeof(atadev->id[0]) * ATA_ID_WORDS;
676 in_params[0].buffer.pointer = (u8 *)atadev->id; 676 in_params[0].buffer.pointer = (u8 *)atadev->id;
677 /* Output buffer: _SDD has no output */ 677 /* Output buffer: _SDD has no output */
678 678