)]}'
{
  "commit": "f006b2c5dff35cb32ee77a0cbcabb52d90118c19",
  "tree": "6cf146ac98bcde1e952430951046a9186227c6db",
  "parents": [
    "dece303fa3aaaf1dbaf4ddd95e8af1c16ceb7bb1"
  ],
  "author": {
    "name": "Arnd Bergmann",
    "email": "arnd@arndb.de",
    "time": "Thu Dec 08 22:57:05 2016 +0100"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Thu Dec 08 21:30:54 2016 -0500"
  },
  "message": "net: xgene: avoid bogus maybe-uninitialized warning\n\nIn some configurations, gcc cannot trace the state of variables\nacross a spin_unlock() barrier, leading to a warning about\ncorrect code:\n\nxgene_enet_main.c: In function \u0027xgene_enet_start_xmit\u0027:\n../../../phy/mdio-xgene.h:112:14: error: \u0027mss_index\u0027 may be used uninitialized in this function [-Werror\u003dmaybe-uninitialized]\n\nHere we can trivially move the assignment before that spin_unlock,\nwhich reliably avoids the warning.\n\nFixes: e3978673f514 (\"drivers: net: xgene: Fix MSS programming\")\nSigned-off-by: Arnd Bergmann \u003carnd@arndb.de\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "884a334e82d0729e80fe7f8e52f704e85442fe22",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/apm/xgene/xgene_enet_main.c",
      "new_id": "523b8eff6d7be67dab281d6fbf23d2c994b41558",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/apm/xgene/xgene_enet_main.c"
    }
  ]
}
