)]}'
{
  "commit": "d86d4f8cbb5a55a3b9b86f7b5ab8c4cdda600a3f",
  "tree": "b18acec840133546891403ae5ecc78b7e1b54550",
  "parents": [
    "2d6d33e45dd4fb768758d5f6e747deadcd66b9fc"
  ],
  "author": {
    "name": "Xu Rao",
    "email": "raoxu@uniontech.com",
    "time": "Wed Jun 24 17:47:39 2026 +0800"
  },
  "committer": {
    "name": "Dmitry Torokhov",
    "email": "dmitry.torokhov@gmail.com",
    "time": "Fri Jun 26 22:42:56 2026 -0700"
  },
  "message": "Input: gscps2 - advance receive buffer write index\n\nCommit 44f920069911 (\"Input: gscps2 - use guard notation when\nacquiring spinlock\") moved the receive loop into gscps2_read_data()\nand gscps2_report_data().\n\nWhile moving the code, it preserved the writes to\nbuffer[ps2port-\u003eappend], but omitted the following producer index\nupdate from the original loop:\n\n\tps2port-\u003eappend \u003d (ps2port-\u003eappend + 1) \u0026 BUFFER_SIZE;\n\nAs a result, append never advances. Since gscps2_report_data() only\nreports bytes while act !\u003d append, the receive buffer always appears\nempty and no keyboard or mouse data reaches the serio core.\n\nRestore the omitted index update.\n\nFixes: 44f920069911 (\"Input: gscps2 - use guard notation when acquiring spinlock\")\nCc: stable@vger.kernel.org # 6.13+\nSigned-off-by: Xu Rao \u003craoxu@uniontech.com\u003e\nLink: https://patch.msgid.link/460B5655BA580C60+20260624094739.850306-1-raoxu@uniontech.com\nSigned-off-by: Dmitry Torokhov \u003cdmitry.torokhov@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "22b2f57fd91f5a00fdce646169e3000deca467f1",
      "old_mode": 33188,
      "old_path": "drivers/input/serio/gscps2.c",
      "new_id": "bf9b993f5733084171320275309e221fa6c8e87a",
      "new_mode": 33188,
      "new_path": "drivers/input/serio/gscps2.c"
    }
  ]
}
