)]}'
{
  "commit": "39f04b1406b23fcc129a67e70d6205d5a7322f38",
  "tree": "44d1465878969f301c0721dd00adbebf99beb360",
  "parents": [
    "2be35a619482c1f4e5bc7a2d84049b8d7d171882"
  ],
  "author": {
    "name": "Jakub Kicinski",
    "email": "kuba@kernel.org",
    "time": "Wed Nov 22 19:05:58 2023 -0800"
  },
  "committer": {
    "name": "Jakub Kicinski",
    "email": "kuba@kernel.org",
    "time": "Thu Nov 23 08:52:23 2023 -0800"
  },
  "message": "tools: ynl: fix duplicate op name in devlink\n\nWe don\u0027t support CRUD-inspired message types in YNL too well.\nOne aspect that currently trips us up is the fact that single\nmessage ID can be used in multiple commands (as the response).\nThis leads to duplicate entries in the id-to-string tables:\n\ndevlink-user.c:19:34: warning: initialized field overwritten [-Woverride-init]\n   19 |         [DEVLINK_CMD_PORT_NEW] \u003d \"port-new\",\n      |                                  ^~~~~~~~~~\ndevlink-user.c:19:34: note: (near initialization for ‘devlink_op_strmap[7]’)\n\nFixes tag points at where the code was generated, the \"real\" problem\nis that the code generator does not support CRUD.\n\nFixes: f2f9dd164db0 (\"netlink: specs: devlink: add the remaining command to generate complete split_ops\")\nLink: https://lore.kernel.org/r/20231123030558.1611831-1-kuba@kernel.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bc5065bd99b2f05f4835da18d8a2a1a6fd28ce26",
      "old_mode": 33188,
      "old_path": "tools/net/ynl/generated/devlink-user.c",
      "new_id": "c12ca87ca2bb3f95f74d4854341a75edd5808822",
      "new_mode": 33188,
      "new_path": "tools/net/ynl/generated/devlink-user.c"
    },
    {
      "type": "modify",
      "old_id": "c4003a83cd5d87dc1764f83f230b0aca5ce7a1a3",
      "old_mode": 33261,
      "old_path": "tools/net/ynl/ynl-gen-c.py",
      "new_id": "3bd6b928c14ff7c1e7e67e83ad19f2c7568db410",
      "new_mode": 33261,
      "new_path": "tools/net/ynl/ynl-gen-c.py"
    }
  ]
}
