From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH 2/2] xen/arm: Make HAS_PCI compilable on ARM by adding place-holder code Date: Thu, 16 Apr 2015 16:36:12 +0100 Message-ID: <1429198572.25195.166.camel@citrix.com> References: <552B74B3.6000702@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <552B74B3.6000702@caviumnetworks.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Manish Jaggi Cc: "Prasun.kapoor@cavium.com" , "Kumar, Vijaya" , Stefano Stabellini , Julien Grall , Xen Devel List-Id: xen-devel@lists.xenproject.org On Mon, 2015-04-13 at 13:18 +0530, Manish Jaggi wrote: > uint8_t pci_conf_read8( > + uint32_t seg, uint32_t bus, uint32_t dev, uint32_t func, > + uint32_t reg) Shouldn't this (and the other functions) match the prototype in xen/pci.h, which is: uint8_t pci_conf_read8( unsigned int seg, unsigned int bus, unsigned int dev, unsigned int func, unsigned int reg); ? We generally try and use precisely sized types in the ARM code, but where we interact with generic/common interfaces we should either follow what they do or make an argument (via a preparatory patch) for changing them. Ian.