)]}'
{
  "commit": "5f6f12ccf3aa42cfc0c5bde9228df0c843dd63f7",
  "tree": "0fd92494ecaa6caf7f4d7f12524d49b149d7d304",
  "parents": [
    "ddb503b42960792f3be580f98959add669241a04"
  ],
  "author": {
    "name": "Tejun Heo",
    "email": "tj@kernel.org",
    "time": "Mon May 09 16:04:11 2011 +0200"
  },
  "committer": {
    "name": "Jeff Garzik",
    "email": "jgarzik@pobox.com",
    "time": "Sat May 14 14:51:40 2011 -0400"
  },
  "message": "libata: fix oops when LPM is used with PMP\n\nae01b2493c (libata: Implement ATA_FLAG_NO_DIPM and apply it to mcp65)\nadded ATA_FLAG_NO_DIPM and made ata_eh_set_lpm() check the flag.\nHowever, @ap is NULL if @link points to a PMP link and thus the\nunconditional @ap-\u003eflags dereference leads to the following oops.\n\n  BUG: unable to handle kernel NULL pointer dereference at 0000000000000018\n  IP: [\u003cffffffff813f98e1\u003e] ata_eh_recover+0x9a1/0x1510\n  ...\n  Pid: 295, comm: scsi_eh_4 Tainted: P            2.6.38.5-core2 #1 System76, Inc. Serval Professional/Serval Professional\n  RIP: 0010:[\u003cffffffff813f98e1\u003e]  [\u003cffffffff813f98e1\u003e] ata_eh_recover+0x9a1/0x1510\n  RSP: 0018:ffff880132defbf0  EFLAGS: 00010246\n  RAX: 0000000000000000 RBX: ffff880132f40000 RCX: 0000000000000000\n  RDX: ffff88013377c000 RSI: ffff880132f40000 RDI: 0000000000000000\n  RBP: ffff880132defce0 R08: ffff88013377dc58 R09: ffff880132defd98\n  R10: 0000000000000000 R11: 00000000ffffffff R12: 0000000000000000\n  R13: 0000000000000000 R14: ffff88013377c000 R15: 0000000000000000\n  FS:  0000000000000000(0000) GS:ffff8800bf700000(0000) knlGS:0000000000000000\n  CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b\n  CR2: 0000000000000018 CR3: 0000000001a03000 CR4: 00000000000406e0\n  DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000\n  DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400\n  Process scsi_eh_4 (pid: 295, threadinfo ffff880132dee000, task ffff880133b416c0)\n  Stack:\n   0000000000000000 ffff880132defcc0 0000000000000000 ffff880132f42738\n   ffffffff813ee8f0 ffffffff813eefe0 ffff880132defd98 ffff88013377f190\n   ffffffffa00b3e30 ffffffff813ef030 0000000032defc60 ffff880100000000\n  Call Trace:\n   [\u003cffffffff81400867\u003e] sata_pmp_error_handler+0x607/0xc30\n   [\u003cffffffffa00b273f\u003e] ahci_error_handler+0x1f/0x70 [libahci]\n   [\u003cffffffff813faade\u003e] ata_scsi_error+0x5be/0x900\n   [\u003cffffffff813cf724\u003e] scsi_error_handler+0x124/0x650\n   [\u003cffffffff810834b6\u003e] kthread+0x96/0xa0\n   [\u003cffffffff8100cd64\u003e] kernel_thread_helper+0x4/0x10\n  Code: 8b 95 70 ff ff ff b8 00 00 00 00 48 3b 9a 10 2e 00 00 48 0f 44 c2 48 89 85 70 ff ff ff 48 8b 8d 70 ff ff ff f6 83 69 02 00 00 01 \u003c48\u003e 8b 41 18 0f 85 48 01 00 00 48 85 c9 74 12 48 8b 51 08 48 83\n  RIP  [\u003cffffffff813f98e1\u003e] ata_eh_recover+0x9a1/0x1510\n   RSP \u003cffff880132defbf0\u003e\n  CR2: 0000000000000018\n\nFix it by testing @link-\u003eap-\u003eflags instead.\n\nstable: ATA_FLAG_NO_DIPM was added during 2.6.39 cycle but was\n        backported to 2.6.37 and 38.  This is a fix for that and thus\n        also applicable to 2.6.37 and 38.\n\nSigned-off-by: Tejun Heo \u003ctj@kernel.org\u003e\nReported-by: \"Nathan A. Mourey II\" \u003cnmoureyii@ne.rr.com\u003e\nLKML-Reference: \u003c1304555277.2059.2.camel@localhost.localdomain\u003e\nCc: Connor H \u003ccmdkhh@gmail.com\u003e\nCc: stable@kernel.org\nSigned-off-by: Jeff Garzik \u003cjgarzik@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f26f2fe3480ad0847b6ce059a0b4206e182a9f46",
      "old_mode": 33188,
      "old_path": "drivers/ata/libata-eh.c",
      "new_id": "dad9fd660f379907b6bb80856d8e047959d1917a",
      "new_mode": 33188,
      "new_path": "drivers/ata/libata-eh.c"
    }
  ]
}
