Re: [PATCH] x86/PCI: simplify pci_bios_{read,write}

2015-12-09 Thread Bjorn Helgaas
On Mon, Dec 07, 2015 at 10:24:24PM +0800, Geliang Tang wrote: > There are some repetitive code in the switch/case statement in > pci_bios_read() and pci_bios_write(). I drop it to simplify the > code. > > Signed-off-by: Geliang Tang Applied to pci/misc for v4.5 with Thomas' Reviewed-by, thanks!

Re: [PATCH] x86/PCI: simplify pci_bios_{read,write}

2015-12-09 Thread Bjorn Helgaas
On Mon, Dec 07, 2015 at 10:24:24PM +0800, Geliang Tang wrote: > There are some repetitive code in the switch/case statement in > pci_bios_read() and pci_bios_write(). I drop it to simplify the > code. > > Signed-off-by: Geliang Tang Applied to pci/misc for v4.5 with Thomas'

Re: [PATCH] x86/PCI: simplify pci_bios_{read,write}

2015-12-08 Thread Thomas Gleixner
On Mon, 7 Dec 2015, Geliang Tang wrote: > There are some repetitive code in the switch/case statement in > pci_bios_read() and pci_bios_write(). I drop it to simplify the > code. > > Signed-off-by: Geliang Tang Reviewed-by: Thomas Gleixner -- To unsubscribe from this list: send the line

Re: [PATCH] x86/PCI: simplify pci_bios_{read,write}

2015-12-08 Thread Thomas Gleixner
On Mon, 7 Dec 2015, Geliang Tang wrote: > There are some repetitive code in the switch/case statement in > pci_bios_read() and pci_bios_write(). I drop it to simplify the > code. > > Signed-off-by: Geliang Tang Reviewed-by: Thomas Gleixner -- To

[PATCH] x86/PCI: simplify pci_bios_{read,write}

2015-12-07 Thread Geliang Tang
There are some repetitive code in the switch/case statement in pci_bios_read() and pci_bios_write(). I drop it to simplify the code. Signed-off-by: Geliang Tang --- arch/x86/pci/pcbios.c | 108 ++ 1 file changed, 38 insertions(+), 70 deletions(-)

[PATCH] x86/PCI: simplify pci_bios_{read,write}

2015-12-07 Thread Geliang Tang
There are some repetitive code in the switch/case statement in pci_bios_read() and pci_bios_write(). I drop it to simplify the code. Signed-off-by: Geliang Tang --- arch/x86/pci/pcbios.c | 108 ++ 1 file changed, 38