)]}'
{
  "commit": "7b34d5257a90c419d67c1c3b52f87a679845ef1e",
  "tree": "f5b0a4c3d3c52155f026cf5323ea4f8b9ea6fd55",
  "parents": [
    "2aaf2092c168fc02df0645415f524b357ee7ec2e"
  ],
  "author": {
    "name": "Andrea Righi",
    "email": "arighi@develer.com",
    "time": "Thu Aug 19 14:13:29 2010 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Fri Aug 20 09:34:54 2010 -0700"
  },
  "message": "kfifo: fix kernel BUG in dma example\n\nThe scatterlist is used uninitialized in kfifo_dma_in_prepare().  This\ntriggers the following bug if CONFIG_DEBUG_SG\u003dy:\n\n  ------------[ cut here ]------------\n  kernel BUG at include/linux/scatterlist.h:65!\n  invalid opcode: 0000 [#1] PREEMPT SMP\n  ...\n  Call Trace:\n   [\u003cffffffff810a1eab\u003e] setup_sgl+0x6b/0xe0\n   [\u003cffffffffa03d7000\u003e] ? example_init+0x0/0x265 [dma_example]\n   [\u003cffffffff810a2021\u003e] __kfifo_dma_in_prepare+0x21/0x30\n   [\u003cffffffffa03d7124\u003e] example_init+0x124/0x265 [dma_example]\n   [\u003cffffffff810f9c55\u003e] ? trace_module_notify+0x25/0x370\n   [\u003cffffffff81110c6e\u003e] ? free_pages_prepare+0x11e/0x1e0\n   [\u003cffffffff8106f2b1\u003e] ? get_parent_ip+0x11/0x50\n   [\u003cffffffff810f9c55\u003e] ? trace_module_notify+0x25/0x370\n   [\u003cffffffff810b65fd\u003e] ? trace_hardirqs_on+0xd/0x10\n   [\u003cffffffff814beade\u003e] ? mutex_unlock+0xe/0x10\n   [\u003cffffffff810f9c71\u003e] ? trace_module_notify+0x41/0x370\n   [\u003cffffffff810a77d5\u003e] ? __blocking_notifier_call_chain+0x45/0x80\n   [\u003cffffffff81137b7a\u003e] ? vfree+0x2a/0x30\n   [\u003cffffffff810a6ac3\u003e] ? up_read+0x23/0x40\n   [\u003cffffffff810a77f5\u003e] ? __blocking_notifier_call_chain+0x65/0x80\n   [\u003cffffffff810001e3\u003e] do_one_initcall+0x43/0x180\n   [\u003cffffffff810c577a\u003e] sys_init_module+0xba/0x200\n   [\u003cffffffff8103819b\u003e] system_call_fastpath+0x16/0x1b\n  RIP  [\u003cffffffff810a1e31\u003e] setup_sgl_buf+0x1a1/0x1b0\n   RSP \u003cffff88006720dc98\u003e\n  ---[ end trace a72b979fd3c1d3a5 ]---\n\nAdd the proper initialization to avoid the bug.\n\nSigned-off-by: Andrea Righi \u003carighi@develer.com\u003e\nAcked-by: Stefani Seibold \u003cstefani@seibold.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b9482c28b41aa0a54cb24c483a84499fe0135d9a",
      "old_mode": 33188,
      "old_path": "samples/kfifo/dma-example.c",
      "new_id": "03433ca5bdadeeba348b7c5436ee2f3fae28b5d4",
      "new_mode": 33188,
      "new_path": "samples/kfifo/dma-example.c"
    }
  ]
}
