)]}'
{
  "commit": "7f75d320f6d8ac7ec5185b2145da87f698aec273",
  "tree": "fb8e80f4fef292cd45804425b0ab2274ca9fd158",
  "parents": [
    "301644ab480ab9787c617e1a94e19ca5c2774072"
  ],
  "author": {
    "name": "Michael Brown",
    "email": "mcb30@ipxe.org",
    "time": "Mon Sep 02 12:24:57 2024 +0100"
  },
  "committer": {
    "name": "Michael Brown",
    "email": "mcb30@ipxe.org",
    "time": "Mon Sep 02 12:24:57 2024 +0100"
  },
  "message": "[etherfabric] Fix use of uninitialised variable in falcon_xaui_link_ok()\n\nThe link status check in falcon_xaui_link_ok() reads from the\nFCN_XX_CORE_STAT_REG_MAC register only on production hardware (where\nthe FPGA version reads as zero), but modifies the value and writes\nback to this register unconditionally.  This triggers an uninitialised\nvariable warning on newer versions of gcc.\n\nFix by assuming that the register exists only on production hardware,\nand so moving the \"modify-write\" portion of the \"read-modify-write\"\noperation to also be covered by the same conditional check.\n\nSigned-off-by: Michael Brown \u003cmcb30@ipxe.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b40596beae753eb346256c791a7067235f07dd43",
      "old_mode": 33188,
      "old_path": "src/drivers/net/etherfabric.c",
      "new_id": "be30b71f79fd7f4e8eacdbb936e5981325cbdfcc",
      "new_mode": 33188,
      "new_path": "src/drivers/net/etherfabric.c"
    }
  ]
}
