)]}'
{
  "commit": "1be97bf22447088adebf23b1ca508d4bb00f853c",
  "tree": "253cf110e96f1ebaec0a516f548aea77ee405d6e",
  "parents": [
    "6e392787c85809671033ec419d8e8ecf684d55da"
  ],
  "author": {
    "name": "Peter Maydell",
    "email": "peter.maydell@linaro.org",
    "time": "Thu Feb 28 18:23:12 2013 +0000"
  },
  "committer": {
    "name": "Peter Maydell",
    "email": "peter.maydell@linaro.org",
    "time": "Thu Feb 28 18:23:12 2013 +0000"
  },
  "message": "hw/pflash_cfi01: Treat read in unknown command state as read\n\nThe code for handling the default \"unknown command state\" case in\npflash_read in pflash_cfi01.c comments \"reset state \u0026 treat it as\na read\". However the code doesn\u0027t actually do this. Moving the\ndefault case to the top of the switch so it can fall through into\nthe read case brings this file into line with pflash_cfi02 and\nmakes the code behave as the comments suggest.\n\nThe pflash_cfi01 code has always had this bug -- it was presumably\nintroduced when the original author copied the cfi02 code and\nrearranged the order of the switch statement without noticing\nthat the default case relied on the fall-through.\n\nSigned-off-by: Peter Maydell \u003cpeter.maydell@linaro.org\u003e\nReviewed-by: Peter Crosthwaite \u003cpeter.crosthwaite@xilinx.com\u003e\nTested-by: Peter Crosthwaite \u003cpeter.crosthwaite@xilinx.com\u003e\nMessage-id: 1358777318-7579-3-git-send-email-peter.maydell@linaro.org\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c79e5995c2ee559454243550aa07bc63a001d2b3",
      "old_mode": 33188,
      "old_path": "hw/pflash_cfi01.c",
      "new_id": "123b00653a80777f1533ea1fd1c60b45fdc21ee4",
      "new_mode": 33188,
      "new_path": "hw/pflash_cfi01.c"
    }
  ]
}
