Re: [PATCH] PCI: Allow to specify PCI bus 255 on pci command line

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

 



On Monday, August 11, 2008 2:11 pm Andi Kleen wrote:
> PCI: Allow to specify PCI bus 255 on pci command line
>
> Fix an old off by one error in the legacy PCI bus check. 0xff
> is a valid bus.
>
> 2.6.27 candidate.
>
> Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Index: linux/arch/x86/pci/legacy.c
> ===================================================================
> --- linux.orig/arch/x86/pci/legacy.c
> +++ linux/arch/x86/pci/legacy.c
> @@ -14,7 +14,7 @@ static void __devinit pcibios_fixup_peer
>  	int n, devfn;
>  	long node;
>
> -	if (pcibios_last_bus <= 0 || pcibios_last_bus >= 0xff)
> +	if (pcibios_last_bus <= 0 || pcibios_last_bus > 0xff)
>  		return;
>  	DBG("PCI: Peer bridge fixup\n");

Applied to my for-linus branch.  Thanks Andi.

-- 
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