WSL2-Linux-Kernel/drivers/parport
Linus Torvalds 4ed919014e parport_pc: make sure to release IO ports after probing for IT87XX
Commit f63fd7e299 ("parport_pc: detection
for SuperIO IT87XX POST") only released the IO port region on success,
not when the probe for the IT87XX chip failed.

That caused not only a reserved region to leak, but also caused an oops
when the driver module was unloaded and somebody tried to cat
/proc/ioports - because the string that was assigned to the IO port
region was a static string in the module virtual address area.

Reported-by: Lubos Lunak <l.lunak@suse.cz>
Cc: Jan Kara <jack@suse.cz>
Cc: Petr Cvek <petr.cvek@tul.cz>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-04 14:30:31 -07:00
..
BUGS-parport
ChangeLog
Kconfig mn10300: add the MN10300/AM33 architecture to the kernel 2008-02-08 09:22:30 -08:00
Makefile [PATCH] AX88796 parallel port driver 2006-06-25 10:01:09 -07:00
TODO-parport
daisy.c [PARPORT] Remove unused 'irq' argument from parport irq functions 2007-10-23 19:53:16 -04:00
ieee1284.c [PARPORT] Kill useful 'irq' arg from parport_{generic_irq,ieee1284_interrupt} 2007-10-23 19:53:15 -04:00
ieee1284_ops.c parport: fix ieee1284_epp_read_addr 2008-02-08 09:22:36 -08:00
multiface.h
parport_amiga.c [PARPORT] Consolidate code copies into a single generic irq handler 2007-10-23 19:53:15 -04:00
parport_atari.c [PARPORT] Consolidate code copies into a single generic irq handler 2007-10-23 19:53:15 -04:00
parport_ax88796.c [PARPORT] Consolidate code copies into a single generic irq handler 2007-10-23 19:53:15 -04:00
parport_cs.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
parport_gsc.c [PARPORT] Consolidate code copies into a single generic irq handler 2007-10-23 19:53:15 -04:00
parport_gsc.h remove the bouncing email address of David Campbell 2006-06-26 18:19:23 +02:00
parport_ip32.c [PARPORT] Consolidate code copies into a single generic irq handler 2007-10-23 19:53:15 -04:00
parport_mfc3.c [PARPORT] Kill useful 'irq' arg from parport_{generic_irq,ieee1284_interrupt} 2007-10-23 19:53:15 -04:00
parport_pc.c parport_pc: make sure to release IO ports after probing for IT87XX 2008-04-04 14:30:31 -07:00
parport_serial.c parport_serial: netmos 9855 fix 2008-02-06 10:41:08 -08:00
parport_sunbpp.c [PARPORT] Consolidate code copies into a single generic irq handler 2007-10-23 19:53:15 -04:00
probe.c Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
procfs.c parport: "dev->timeslice" is an unsigned long, not an int 2007-12-17 19:28:15 -08:00
share.c [PARPORT] Remove unused 'irq' argument from parport irq functions 2007-10-23 19:53:16 -04:00