Add missing le32toh(), same as recently done in ata-siliconimage.c.
This commit is contained in:
parent
ea14ae7aed
commit
433d4558c1
@ -563,7 +563,7 @@ ata_ahci_end_transaction(struct ata_request *request)
|
||||
/* record how much data we actually moved */
|
||||
clp = (struct ata_ahci_cmd_list *)
|
||||
(ch->dma.work + ATA_AHCI_CL_OFFSET);
|
||||
request->donecount = clp->bytecount;
|
||||
request->donecount = le32toh(clp->bytecount);
|
||||
|
||||
/* release SG list etc */
|
||||
ch->dma.unload(request);
|
||||
|
Loading…
Reference in New Issue
Block a user