Re: + pci-constify-pci_bus_assign_resources.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, February 17, 2009 12:02 pm Andrew Morton wrote:
> Something seems to have gone wrong.
>
> pci-constify-pci_bus_assign_resources.patch also did this:
>
> --- a/drivers/pci/setup-bus.c~pci-constify-pci_bus_assign_resources
> +++ a/drivers/pci/setup-bus.c
> @@ -27,7 +27,7 @@
>  #include <linux/slab.h>
>
>
> -static void pbus_assign_resources_sorted(struct pci_bus *bus)
> +static void pbus_assign_resources_sorted(const struct pci_bus *bus)
>  {
>  	struct pci_dev *dev;
>  	struct resource *res;
>
> but that hunk got lost and we now get
>
> drivers/pci/setup-bus.c: In function 'pci_bus_assign_resources':
> drivers/pci/setup-bus.c:503: warning: passing argument 1 of
> 'pbus_assign_resources_sorted' discards qualifiers from pointer target type

Hm the patch I applied from you didn't have that hunk (just checked my 
mailbox), did I pick up the wrong one?

-- 
Jesse Barnes, Intel Open Source Technology Center
--
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

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux