)]}'
{
  "commit": "faf8c714f4508207a9c81cc94dafc76ed6680b44",
  "tree": "74746c9b577b9bbf008dafbbeef4d94d2813c7be",
  "parents": [
    "8f286c33f1e838d631f4a3260b33efce4bc5973c"
  ],
  "author": {
    "name": "Dave Young",
    "email": "hidave.darkstar@gmail.com",
    "time": "Thu Oct 18 03:05:07 2007 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@woody.linux-foundation.org",
    "time": "Thu Oct 18 14:37:21 2007 -0700"
  },
  "message": "param_sysfs_builtin memchr argument fix\n\nIf memchr argument is longer than strlen(kp-\u003ename), there will be some\nweird result.\n\nIt will casuse duplicate filenames in sysfs for the \"nousb\".  kernel\nwarning messages are as bellow:\n\nsysfs: duplicate filename \u0027usbcore\u0027 can not be created\nWARNING: at fs/sysfs/dir.c:416 sysfs_add_one()\n [\u003cc01c4750\u003e] sysfs_add_one+0xa0/0xe0\n [\u003cc01c4ab8\u003e] create_dir+0x48/0xb0\n [\u003cc01c4b69\u003e] sysfs_create_dir+0x29/0x50\n [\u003cc024e0fb\u003e] create_dir+0x1b/0x50\n [\u003cc024e3b6\u003e] kobject_add+0x46/0x150\n [\u003cc024e2da\u003e] kobject_init+0x3a/0x80\n [\u003cc053b880\u003e] kernel_param_sysfs_setup+0x50/0xb0\n [\u003cc053b9ce\u003e] param_sysfs_builtin+0xee/0x130\n [\u003cc053ba33\u003e] param_sysfs_init+0x23/0x60\n [\u003cc024d062\u003e] __next_cpu+0x12/0x20\n [\u003cc052aa30\u003e] kernel_init+0x0/0xb0\n [\u003cc052aa30\u003e] kernel_init+0x0/0xb0\n [\u003cc052a856\u003e] do_initcalls+0x46/0x1e0\n [\u003cc01bdb12\u003e] create_proc_entry+0x52/0x90\n [\u003cc0158d4c\u003e] register_irq_proc+0x9c/0xc0\n [\u003cc01bda94\u003e] proc_mkdir_mode+0x34/0x50\n [\u003cc052aa30\u003e] kernel_init+0x0/0xb0\n [\u003cc052aa92\u003e] kernel_init+0x62/0xb0\n [\u003cc0104f83\u003e] kernel_thread_helper+0x7/0x14\n \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nkobject_add failed for usbcore with -EEXIST, don\u0027t try to register things with the same name in the same directory.\n [\u003cc024e466\u003e] kobject_add+0xf6/0x150\n [\u003cc053b880\u003e] kernel_param_sysfs_setup+0x50/0xb0\n [\u003cc053b9ce\u003e] param_sysfs_builtin+0xee/0x130\n [\u003cc053ba33\u003e] param_sysfs_init+0x23/0x60\n [\u003cc024d062\u003e] __next_cpu+0x12/0x20\n [\u003cc052aa30\u003e] kernel_init+0x0/0xb0\n [\u003cc052aa30\u003e] kernel_init+0x0/0xb0\n [\u003cc052a856\u003e] do_initcalls+0x46/0x1e0\n [\u003cc01bdb12\u003e] create_proc_entry+0x52/0x90\n [\u003cc0158d4c\u003e] register_irq_proc+0x9c/0xc0\n [\u003cc01bda94\u003e] proc_mkdir_mode+0x34/0x50\n [\u003cc052aa30\u003e] kernel_init+0x0/0xb0\n [\u003cc052aa92\u003e] kernel_init+0x62/0xb0\n [\u003cc0104f83\u003e] kernel_thread_helper+0x7/0x14\n \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nModule \u0027usbcore\u0027 failed to be added to sysfs, error number -17\nThe system will be unstable now.\n\nSigned-off-by: Dave Young \u003chidave.darkstar@gmail.com\u003e\nCc: Greg KH \u003cgreg@kroah.com\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": "1d6aca288cdcb078ed5a3a6790d9f532f98d8f88",
      "old_mode": 33188,
      "old_path": "kernel/params.c",
      "new_id": "16f269e9ddc9b7d4ed129f98f0deac4965b87507",
      "new_mode": 33188,
      "new_path": "kernel/params.c"
    }
  ]
}
