)]}'
{
  "commit": "9af36a56985df08c54b7797e5337e79fc6124f1d",
  "tree": "6706f34b836f767a0cabe7e9b6a65402260e5747",
  "parents": [
    "f57557ee459eaf2f81080c728c2d3a429b194906"
  ],
  "author": {
    "name": "Munawar Hussain",
    "email": "munawarhussain@google.com",
    "time": "Thu Nov 05 14:49:43 2026 +0000"
  },
  "committer": {
    "name": "Munawar Hussain",
    "email": "munawarhussain@google.com",
    "time": "Thu Nov 12 22:59:31 2026 +0000"
  },
  "message": "nvmesensor: fix fw commit needs-reset check\n\nPreviously we were checking status value directly with status code (SC)\nbut we were not considering status code type (SCT) which was not\ncorrect.\n\nDuring SSD update, if the subsystem reset required, then the SSD returns\n0x110 (272). But we were checking with 0x010 but we should check with\n0x110 where SCT\u003d1 and SC\u003d0x10. The same applies to 0x10b and 0x111.\nsrc/NVMeError.cpp:translateLibNVMe handles this properly.\n\nHence fixing the condition by also checking SCT. NVMeMiFake had the\nsame check, so fix it too.\n\nTested:\nA needs-reset commit (0x110) now reports RequireReset instead of\nFailed; an activation-prohibited commit (0x113) still reports Failed\nand logs the status. Full test logs are in b/578681755.\n\nGoogle-Bug-Id: 578681755\nChange-Id: I98005675318e2aaee9019010434f9fdb3dd9f610\nSigned-off-by: Munawar Hussain \u003cmunawarhussain@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ea9e71c04d898e1fc4ca41521c71127ce7cc6d08",
      "old_mode": 33188,
      "old_path": "src/NVMeIntf.hpp",
      "new_id": "298c7b912120a945f857ee87877f8d5469264f38",
      "new_mode": 33188,
      "new_path": "src/NVMeIntf.hpp"
    },
    {
      "type": "modify",
      "old_id": "cdc5a49c3bf08a4a5c12bf53c2a78c7eb40f37f2",
      "old_mode": 33188,
      "old_path": "src/NVMeMi.cpp",
      "new_id": "5a4ba0978c0fcd7dcca3b4ab3add98f81cc3381c",
      "new_mode": 33188,
      "new_path": "src/NVMeMi.cpp"
    },
    {
      "type": "modify",
      "old_id": "581c9815e972348b6d06f31edd4eb15e3fc8ab6c",
      "old_mode": 33188,
      "old_path": "src/NVMeMiFake.hpp",
      "new_id": "78debd5c6d1af2f1ea2290ce781db4b400323077",
      "new_mode": 33188,
      "new_path": "src/NVMeMiFake.hpp"
    },
    {
      "type": "modify",
      "old_id": "ec9ff30cbd6c9ac91feb8eb725d17fbb7d59c4df",
      "old_mode": 33188,
      "old_path": "tests/test_nvme_mi_recovery.cpp",
      "new_id": "082e137fe8cb477b2b47b36f0bee22f77c6e29b8",
      "new_mode": 33188,
      "new_path": "tests/test_nvme_mi_recovery.cpp"
    }
  ]
}
