From: akpm@linux-foundation.org Subject: [merged] drivers-parport-parport_pcc-fix-id-print-of-a-device.patch removed from -mm tree Date: Thu, 12 Dec 2013 12:47:46 -0800 Message-ID: <52aa20f2.EsD+wsOqgdI8eJQ8%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:58004 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751871Ab3LLUrr (ORCPT ); Thu, 12 Dec 2013 15:47:47 -0500 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, stable@vger.kernel.org, lee.howard@mainpine.com, greg@kroah.com, bigeasy@linutronix.de Subject: [merged] drivers-parport-parport_pcc-fix-id-print-of-a-device.patch removed from -mm tree To: bigeasy@linutronix.de,greg@kroah.com,lee.howard@mainpine.com,stable@vger.kernel.org,mm-commits@vger.kernel.org From: akpm@linux-foundation.org Date: Thu, 12 Dec 2013 12:47:46 -0800 The patch titled Subject: drivers/parport/parport_pc.c: fix id print of a device has been removed from the -mm tree. Its filename was drivers-parport-parport_pcc-fix-id-print-of-a-device.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Sebastian Andrzej Siewior Subject: drivers/parport/parport_pc.c: fix id print of a device Since commit 7106b4e3 ("8250: Oxford Semiconductor Devices") the debug print of the device id does no longer match the real device if it is located in the "enum" behind oxsemi_pcie_pport. The reason is that the code assumes that each id contains one entry in the PCI table. The fix is to lookup the currently used id from the id-> parameter. Signed-off-by: Sebastian Andrzej Siewior Cc: Lee Howard Cc: Greg KH Cc: Signed-off-by: Andrew Morton --- drivers/parport/parport_pc.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff -puN drivers/parport/parport_pc.c~drivers-parport-parport_pcc-fix-id-print-of-a-device drivers/parport/parport_pc.c --- a/drivers/parport/parport_pc.c~drivers-parport-parport_pcc-fix-id-print-of-a-device +++ a/drivers/parport/parport_pc.c @@ -2827,16 +2827,12 @@ static int parport_pc_pci_probe(struct p if (irq == IRQ_NONE) { printk(KERN_DEBUG "PCI parallel port detected: %04x:%04x, I/O at %#lx(%#lx)\n", - parport_pc_pci_tbl[i + last_sio].vendor, - parport_pc_pci_tbl[i + last_sio].device, - io_lo, io_hi); + id->vendor, id->device, io_lo, io_hi); irq = PARPORT_IRQ_NONE; } else { printk(KERN_DEBUG "PCI parallel port detected: %04x:%04x, I/O at %#lx(%#lx), IRQ %d\n", - parport_pc_pci_tbl[i + last_sio].vendor, - parport_pc_pci_tbl[i + last_sio].device, - io_lo, io_hi, irq); + id->vendor, id->device, io_lo, io_hi, irq); } data->ports[count] = parport_pc_probe_port(io_lo, io_hi, irq, _ Patches currently in -mm which might be from bigeasy@linutronix.de are origin.patch linux-next.patch