)]}'
{
  "commit": "4eb4d376fe27ff8be704d923d14890bcec822ca0",
  "tree": "1c415ffe72f9aeb7798365e0e859e2ef8a0040e6",
  "parents": [
    "196eb1787f59c0be810198b7cee20c1484c8fc68"
  ],
  "author": {
    "name": "redwing509",
    "email": "spokanelawncare@live.com",
    "time": "Wed Dec 02 01:18:04 2026 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Dec 02 09:18:04 2026 +0000"
  },
  "message": "test: use expect_check_data() in the DMA map unit tests (#923)\n\nThe coverity build fails against CMocka 2.x: expect_check() is\ndeprecated there, and -Werror turns that into an error in\ntest_dma_map_without_fd() and test_dma_map_return_value() (#892).\n\nConvert both calls to expect_check_data(), make check_fd_ptr() take\nCMockaValueData like the other check callbacks, and pass the expected\nfd through cast_int_to_cmocka_value(). Add the matching\ncast_int_to_cmocka_value() and extract_int_from_cmocka_value() to the\ncompatibility shim in mocks.h so that CMocka 1.x still builds.\n\nSigned-off-by: redwing509 \u003cjames@superclaw.solutions\u003e\nCo-authored-by: redwing509 \u003cjames@superclaw.solutions\u003e\nReviewed-by: Thanos Makatos \u003cthanos.makatos@nutanix.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1a800d3ecca782879b9d6ed57337e67801b45bca",
      "old_mode": 33188,
      "old_path": "test/mocks.h",
      "new_id": "d5311384d13a01a5e2a32cd5d7c89ba49ee05f12",
      "new_mode": 33188,
      "new_path": "test/mocks.h"
    },
    {
      "type": "modify",
      "old_id": "c5fd8ee2a3d288e97aa76c9711c9ef5ade846de9",
      "old_mode": 33188,
      "old_path": "test/unit-tests.c",
      "new_id": "df05c1d9bb9717f651e588920a0c3ff67f7d6adf",
      "new_mode": 33188,
      "new_path": "test/unit-tests.c"
    }
  ]
}
