)]}'
{
  "commit": "734e7b73dfcbb52ef093663cc31b7d5b9689aa86",
  "tree": "fde512466ebda9da83ad85465b1ccc262f41c7f0",
  "parents": [
    "68bc26717ebf7b7b02f0a0984c78741aede623e1"
  ],
  "author": {
    "name": "Philippe Mathieu-Daudé",
    "email": "philmd@linaro.org",
    "time": "Mon Mar 04 15:45:31 2024 +0200"
  },
  "committer": {
    "name": "Konstantin Kostiuk",
    "email": "kkostiuk@redhat.com",
    "time": "Mon Mar 11 18:24:39 2024 +0200"
  },
  "message": "qga/commands-win32: Do not set matrix_lookup_t/win_10_0_t arrays size\n\nga_get_win_name() iterates over all elements in the arrays by\nchecking the \u0027version\u0027 field is non-NULL. Since the arrays are\nguarded by a NULL terminating element, we don\u0027t need to specify\ntheir size:\n\n  static char *ga_get_win_name(...)\n  {\n      ...\n      const ga_matrix_lookup_t *table \u003d WIN_VERSION_MATRIX[tbl_idx];\n      const ga_win_10_0_t *win_10_0_table \u003d ...\n      ...\n      while (table-\u003eversion !\u003d NULL) {\n                    ^^^^^^^^^^^^^^^\n              while (win_10_0_table-\u003eversion !\u003d NULL) {\n                                     ^^^^^^^^^^^^^^^\n\nThis will simplify maintenance when adding new entries to these\narrays.\n\nSplit WIN_VERSION_MATRIX into WIN_CLIENT_VERSION_MATRIX and\nWIN_SERVER_VERSION_MATRIX because  multidimensional array must\nhave bounds for all dimensions except the first.\n\nSigned-off-by: Philippe Mathieu-Daudé \u003cphilmd@linaro.org\u003e\nMessage-ID: \u003c20240222152835.72095-3-philmd@linaro.org\u003e\nReviewed-by: Konstantin Kostiuk \u003ckkostiuk@redhat.com\u003e\nReviewed-by: Yan Vugenfirer \u003cyvugenfi@redhat.com\u003e\nLink: https://lore.kernel.org/r/20240304134532.28506-3-kkostiuk@redhat.com\nSigned-off-by: Konstantin Kostiuk \u003ckkostiuk@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "79b5a580c9f3451e26a4365773cfaf2e43bd1e11",
      "old_mode": 33188,
      "old_path": "qga/commands-win32.c",
      "new_id": "659dfb624a3b562962188197b854969a70b9c723",
      "new_mode": 33188,
      "new_path": "qga/commands-win32.c"
    }
  ]
}
