+ parport_pc-dont-forget-to-unregister-the-temporarily-registered-region.patch added to -mm tree

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

 



The patch titled
     parport_pc: don't forget to unregister the temporarily-registered region
has been added to the -mm tree.  Its filename is
     parport_pc-dont-forget-to-unregister-the-temporarily-registered-region.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: parport_pc: don't forget to unregister the temporarily-registered region
From: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

Otherwise /proc/ioports goes oops after rmmod.

Addresses:

> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=10390
> Subject		: Oops while reading /proc/ioports or /proc/iomem
> Submitter	: Jan Kara <jack@xxxxxxx>
> Date		: 2008-04-03 15:25 (1 days old)
> References	: http://lkml.org/lkml/2008/4/3/149

Fixes a regression added by

commit f63fd7e299ee13da071ecfce2b90b58c5e1562b1
Author: Petr Cvek <petr.cvek@xxxxxx>
Date:   Wed Feb 6 01:37:48 2008 -0800

    parport_pc: detection for SuperIO IT87XX POST
    
    Add detection for IT87XX SuperIO chip and disabling its POST feature, which
    made noise on parallel port's pins.
    
    Signed-off-by: Petr Cvek <petr.cvek@xxxxxx>
    Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

Cc: Petr Cvek <petr.cvek@xxxxxx>
Cc: Jan Kara <jack@xxxxxxx>
Cc: "Rafael J. Wysocki" <rjw@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/parport/parport_pc.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff -puN drivers/parport/parport_pc.c~parport_pc-dont-forget-to-unregister-the-temporarily-registered-region drivers/parport/parport_pc.c
--- a/drivers/parport/parport_pc.c~parport_pc-dont-forget-to-unregister-the-temporarily-registered-region
+++ a/drivers/parport/parport_pc.c
@@ -1568,9 +1568,8 @@ static void __devinit detect_and_report_
 		outb(r | 8, 0x2F);
 		outb(0x02, 0x2E);	/* Lock */
 		outb(0x02, 0x2F);
-
-		release_region(0x2e, 1);
 	}
+	release_region(0x2e, 1);
 }
 #endif /* CONFIG_PARPORT_PC_SUPERIO */
 
_

Patches currently in -mm which might be from torvalds@xxxxxxxxxxxxxxxxxxxx are

origin.patch
parport_pc-dont-forget-to-unregister-the-temporarily-registered-region.patch
git-x86.patch
pci-clean-up-resource-alignment-management.patch
mm-introduce-vm_mixedmap.patch
mm-introduce-pte_special-pte-bit.patch
mm-introduce-pte_special-pte-bit-fix.patch
return-pfn-from-direct_access-for-xip.patch
xip-support-non-struct-page-backed-memory.patch
s390-implement-pte-special-bit.patch
workaround-for-a-pci-restoring-bug.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux