)]}'
{
  "commit": "faf3994a9f65fd95a68bbcc03c318a427cd1e7d3",
  "tree": "800dcc297eb751d512d86c6cb0e8809f8e21e096",
  "parents": [
    "b706e65b40417e03c2451bb3f92488f3736843fa"
  ],
  "author": {
    "name": "Wang Chen",
    "email": "wangchen@cn.fujitsu.com",
    "time": "Tue Oct 14 13:30:33 2008 +0800"
  },
  "committer": {
    "name": "John W. Linville",
    "email": "linville@tuxdriver.com",
    "time": "Fri Oct 31 19:00:22 2008 -0400"
  },
  "message": "airo: Kill directly reference of netdev-\u003epriv\n\nWe have some reasons to kill netdev-\u003epriv:\n1. netdev-\u003epriv is equal to netdev_priv().\n2. netdev_priv() wraps the calculation of netdev-\u003epriv\u0027s offset, obviously\n   netdev_priv() is more flexible than netdev-\u003epriv.\nBut we cann\u0027t kill netdev-\u003epriv, because so many drivers reference to it\ndirectly.\n\nOK, becasue Dave S. Miller said, \"every direct netdev-\u003epriv usage is a bug\",\nand I want to kill netdev-\u003epriv later, I decided to convert all the direct\nreference of netdev-\u003epriv first.\n\nIn this driver, I don\u0027t simply use netdev_priv() to replace netdev-\u003epriv.\n\nThe reason is:\nPointer netdev-\u003epriv was changed in this driver, but it shouldn\u0027t.\nBecause the memory was allocated when alloc_netdev() and netdev-\u003epriv\nshould always point to that memory.\n\nSo I use netdev-\u003eml_priv to replace netdev-\u003epriv.\nAfter replacing, both ai and ai-\u003ewifidev-\u003eml_priv point to the same memory.\n\nSigned-off-by: Wang Chen \u003cwangchen@cn.fujitsu.com\u003e\nCc: John W. Linville \u003clinville@tuxdriver.com\u003e\nCc: Dan Williams \u003cdcbw@redhat.com\u003e\nSigned-off-by: John W. Linville \u003clinville@tuxdriver.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7c99f5a5b332948b08f3258036f4fd4be63501ec",
      "old_mode": 33188,
      "old_path": "drivers/net/wireless/airo.c",
      "new_id": "d7388d2aee9713be0661aee39fe867740d13faf6",
      "new_mode": 33188,
      "new_path": "drivers/net/wireless/airo.c"
    }
  ]
}
