From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0URV-00010t-TE for qemu-devel@nongnu.org; Fri, 27 Jun 2014 07:35:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0URM-0002bW-Ou for qemu-devel@nongnu.org; Fri, 27 Jun 2014 07:35:45 -0400 Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]:33245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0URM-0002bK-Ix for qemu-devel@nongnu.org; Fri, 27 Jun 2014 07:35:36 -0400 Received: by mail-wg0-f46.google.com with SMTP id y10so5067373wgg.17 for ; Fri, 27 Jun 2014 04:35:35 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <53AD5703.9070005@redhat.com> Date: Fri, 27 Jun 2014 13:35:31 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1403825329-21942-1-git-send-email-reza.jelveh@tuhh.de> In-Reply-To: <1403825329-21942-1-git-send-email-reza.jelveh@tuhh.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Reza Jelveh , qemu-devel@nongnu.org Cc: Reza Jelveh 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