- via-sata-oops-on-init.patch removed from -mm tree

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

 



The patch titled

     Fix reference of uninitialised memory in ata_device_add()

has been removed from the -mm tree.  Its filename is

     via-sata-oops-on-init.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: Fix reference of uninitialised memory in ata_device_add()
From: Dave Jones <davej@xxxxxxxxxx>

ata_device_add fails, calls ata_host_remove with pointers to unitialized
memory.

Signed-off-by: Dave Jones <davej@xxxxxxxxxx>
Cc: Jeff Garzik <jeff@xxxxxxxxxx>
Cc: Tejun Heo <htejun@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/ata/libata-core.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff -puN drivers/ata/libata-core.c~via-sata-oops-on-init drivers/ata/libata-core.c
--- a/drivers/ata/libata-core.c~via-sata-oops-on-init
+++ a/drivers/ata/libata-core.c
@@ -5485,11 +5485,10 @@ int ata_device_add(const struct ata_prob
 		int irq_line = ent->irq;
 
 		ap = ata_port_add(ent, host, i);
+		host->ports[i] = ap;
 		if (!ap)
 			goto err_out;
 
-		host->ports[i] = ap;
-
 		/* dummy? */
 		if (ent->dummy_port_mask & (1 << i)) {
 			ata_port_printk(ap, KERN_INFO, "DUMMY\n");
_

Patches currently in -mm which might be from davej@xxxxxxxxxx are

origin.patch
git-agpgart.patch
git-cpufreq.patch
git-dvb.patch
remove-silly-messages-from-input-layer.patch
git-libata-all.patch
forcedeth-hardirq-lockdep-warning.patch
tickle-nmi-watchdog-on-serial-output.patch
git-watchdog.patch
debug-variants-of-linked-list-macros.patch
tty_ioc-keep-davej-sane.patch
single-bit-flip-detector.patch
single-bit-flip-detector-tidy.patch
lockdep-print-kernel-version.patch
remove-another-configh.patch
sched-dont-print-migration-cost-when-only-1-cpu.patch
fbcon-use-persistent-allocation-for-cursor-blinking.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