)]}'
{
  "commit": "31143a12044caa3521edafd736e3bc18c098d2fd",
  "tree": "b9adfc09908b0a7b6abe041f865cf335eac03056",
  "parents": [
    "fc9c9ab22d5650977c417ef2032d02f455011b23"
  ],
  "author": {
    "name": "Bert Wesarg",
    "email": "wesarg@informatik.uni-halle.de",
    "time": "Sat Apr 16 15:25:42 2005 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@ppc970.osdl.org",
    "time": "Sat Apr 16 15:25:42 2005 -0700"
  },
  "message": "[PATCH] kernel/param.c: don\u0027t use .max when .num is NULL in param_array_set()\n\nthere seems to be a bug, at least for me, in kernel/param.c for arrays with\n.num \u003d\u003d NULL.  If .num \u003d\u003d NULL, the function param_array_set() uses \u0026.max\nfor the call to param_array(), wich alters the .max value to the number of\narguments.  The result is, you can\u0027t set more array arguments as the last\ntime you set the parameter.\n\nexample:\n\n# a module \u0027example\u0027 with\n# static int array[10] \u003d { 0, };\n# module_param_array(array, int, NULL, 0644);\n\n$ insmod example.ko array\u003d1,2,3\n$ cat /sys/module/example/parameters/array\n1,2,3\n$ echo \"4,3,2,1\" \u003e /sys/module/example/parameters/array\n$ dmesg | tail -n 1\nkernel: array: can take only 3 arguments\n\nSigned-off-by: Bert Wesarg \u003cwesarg@informatik.uni-halle.de\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5538608bd339b8ab81f1ea31d0cfc4797d19c84d",
      "old_mode": 33188,
      "old_path": "kernel/params.c",
      "new_id": "5513844bec1387855919f927965b2c8adf8b749d",
      "new_mode": 33188,
      "new_path": "kernel/params.c"
    }
  ]
}
