From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cA6cJ-0002An-KR for qemu-devel@nongnu.org; Thu, 24 Nov 2016 21:52:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cA6cF-00011F-PF for qemu-devel@nongnu.org; Thu, 24 Nov 2016 21:51:59 -0500 Date: Fri, 25 Nov 2016 10:51:48 +0800 From: Peter Xu Message-ID: <20161125025148.GD25010@pxdev.xzpeter.org> References: <1479983113-24108-1-git-send-email-peterx@redhat.com> <20161124123239.GA25010@pxdev.xzpeter.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH for-2.8] pci-assign: sync MSI/MSI-X cap and table with PCIDevice List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Changlimin Cc: "qemu-devel@nongnu.org" , "jan.kiszka@siemens.com" , "alex.williamson@redhat.com" , "qemu-stable@nongnu.org" , "pbonzini@redhat.com" On Fri, Nov 25, 2016 at 12:55:12AM +0000, Changlimin wrote: > Hi Peter, > I have tested the patch, it has solved the issue. > I think change > dev->dev.msix_table = dev->msix_table; > to > dev->dev.msix_table = (uint8_t *)dev->msix_table; > can avoid a gcc warning. Thanks for the comment, will fix and repost. Then I'll add your Tested-by as well if you won't mind. :-) -- peterx