Re: [PATCH v5 1/7] pci: Introduce pci_register_io_range() helper function.

From: Arnd Bergmann
Date: Thu Mar 06 2014 - 10:44:20 EST


On Tuesday 04 March 2014, Liviu Dudau wrote:
> +int __weak pci_register_io_range(phys_addr_t addr, resource_size_t size)
> +{
> + return 0;
> +}
> +

How about returning an error here? You don't actually register the range.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/