From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmMNl-0005De-GV for qemu-devel@nongnu.org; Wed, 14 Oct 2015 09:46:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmMNj-0006vg-Tg for qemu-devel@nongnu.org; Wed, 14 Oct 2015 09:46:17 -0400 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:33004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmMNj-0006vc-O1 for qemu-devel@nongnu.org; Wed, 14 Oct 2015 09:46:15 -0400 Received: by wicge5 with SMTP id ge5so102411501wic.0 for ; Wed, 14 Oct 2015 06:46:15 -0700 (PDT) Date: Wed, 14 Oct 2015 10:41:34 +0100 From: Stefan Hajnoczi Message-ID: <20151014094134.GC14874@stefanha-thinkpad> References: <1444535584-18220-1-git-send-email-guangrong.xiao@linux.intel.com> <1444535584-18220-28-git-send-email-guangrong.xiao@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1444535584-18220-28-git-send-email-guangrong.xiao@linux.intel.com> Subject: Re: [Qemu-devel] [PATCH v3 27/32] nvdimm: support DSM_CMD_IMPLEMENTED function List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Xiao Guangrong Cc: ehabkost@redhat.com, kvm@vger.kernel.org, mst@redhat.com, gleb@kernel.org, mtosatti@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com, imammedo@redhat.com, pbonzini@redhat.com, dan.j.williams@intel.com, rth@twiddle.net On Sun, Oct 11, 2015 at 11:52:59AM +0800, Xiao Guangrong wrote: > + out->len = sizeof(out->status); out->len is uint16_t, it needs cpu_to_le16(). There may be other instances in this patch series.