|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH] ahci.c: mask the interrupt on complete flag to allow ahci.c to read the correct size for the PRDT |
Date: | Fri, 27 Jun 2014 13:35:31 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Il 27/06/2014 01:28, Reza Jelveh ha scritto:
+static int prdt_tbl_entry_size(const AHCI_SG tbl) { + return (le32_to_cpu(tbl.flags_size) & AHCI_PRDT_SIZE_MASK) + 1; +}
Apart from the incorrect indentation/formatting here, the patch seems okay. How can this be reproduced? Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |