)]}'
{
  "commit": "472430a7b066f19afa1b55867d621b2d6d323e0d",
  "tree": "c138e807379524c55504d95b9fcc0144762f77a0",
  "parents": [
    "b81d8948746520f989e86d66292ff72b5056114a"
  ],
  "author": {
    "name": "Jiaran Zhang",
    "email": "zhangjiaran@huawei.com",
    "time": "Mon Sep 13 21:08:24 2021 +0800"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Mon Sep 13 14:25:37 2021 +0100"
  },
  "message": "net: hns3: fix the exception when query imp info\n\nWhen the command for querying imp info is issued to the firmware,\nif the firmware does not support the command, the returned value\nof bd num is 0.\nAdd protection mechanism before alloc memory to prevent apply for\n0-length memory.\n\nFixes: 0b198b0d80ea (\"net: hns3: refactor dump m7 info of debugfs\")\nSigned-off-by: Jiaran Zhang \u003czhangjiaran@huawei.com\u003e\nSigned-off-by: Guangbin Huang \u003chuangguangbin2@huawei.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "68ed1715ac5285945b529e4ac85e6fc782da1341",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c",
      "new_id": "87d96f82c3182c74bda6959dc958b42dd177bf35",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c"
    }
  ]
}
