On Wed, Jun 20, 2012 at 1:56 PM, Nikhil P Rao <nikhil.rao@xxxxxxxxx> wrote: > size parameter of _pci_assign_resource() needs to be > of type resource_size_t rather than int > > Signed-off-by: Nikhil P Rao <nikhil.rao@xxxxxxxxx> > --- > drivers/pci/setup-res.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/drivers/pci/setup-res.c b/drivers/pci/setup-res.c > index eea85da..9f6bbec 100644 > --- a/drivers/pci/setup-res.c > +++ b/drivers/pci/setup-res.c > @@ -206,7 +206,8 @@ static int pci_revert_fw_address(struct resource *res, struct pci_dev *dev, > return ret; > } > > -static int _pci_assign_resource(struct pci_dev *dev, int resno, int size, resource_size_t min_align) > +static int _pci_assign_resource(struct pci_dev *dev, int resno, > + resource_size_t size, resource_size_t min_align) > { > struct resource *res = dev->resource + resno; > struct pci_bus *bus; I applied this, thanks! Sorry it took so long. Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html