)]}'
{
  "commit": "e47f0e161fb0f78d1029c74dd80900548058f69c",
  "tree": "61dd14925ce172c38ee03656551bca0235ec5ea1",
  "parents": [
    "b60fd94c0408302f7fc1e554a4de876ba50b54aa"
  ],
  "author": {
    "name": "Palmer Cox",
    "email": "p@lmercox.com",
    "time": "Mon Aug 06 22:24:48 2012 -0400"
  },
  "committer": {
    "name": "Thomas Renninger",
    "email": "trenn@suse.de",
    "time": "Thu Aug 16 21:29:04 2012 +0200"
  },
  "message": "cpupower tools: Fix warning and a bug with the cpu package count\n\nThe pkgs member of cpupower_topology is being used as the number of\ncpu packages. As the comment in get_cpu_topology notes, the package ids\nare not guaranteed to be contiguous. So, simply setting pkgs to the value\nof the highest physical_package_id doesn\u0027t actually provide a count of\nthe number of cpu packages. Instead, calculate pkgs by setting it to\nthe number of distinct physical_packge_id values which is pretty easy\nto do after the core_info structs are sorted. Calculating pkgs this\nway also has the nice benefit of getting rid of a sign comparison warning\nthat GCC 4.6 was reporting.\n\nSigned-off-by: Palmer Cox \u003cp@lmercox.com\u003e\nSigned-off-by: Thomas Renninger \u003ctrenn@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4e2b583ea17be833157fb8b5d583fc6a092666de",
      "old_mode": 33188,
      "old_path": "tools/power/cpupower/utils/helpers/topology.c",
      "new_id": "c13120af519b40aec94ce8055c946b1bcd426143",
      "new_mode": 33188,
      "new_path": "tools/power/cpupower/utils/helpers/topology.c"
    }
  ]
}
