)]}'
{
  "commit": "ea1565cbf0637b966eb31a2cf9a8159d673d4e09",
  "tree": "660d1f1a8c1f6105952b7df37d5bbaba10d61974",
  "parents": [
    "c2c4824319850c87e77d26aeb8f860bc310a64d7"
  ],
  "author": {
    "name": "David Yang",
    "email": "mmyangfl@gmail.com",
    "time": "Thu Oct 08 10:26:46 2026 +0800"
  },
  "committer": {
    "name": "Paolo Abeni",
    "email": "pabeni@redhat.com",
    "time": "Thu Oct 15 10:39:21 2026 +0200"
  },
  "message": "net: ethernet: adi: Move setting of netops to fix crash\n\nadin1140_probe() calls adin1140_phy_init(), which connects the PHY,\nbefore netdev-\u003enetdev_ops is assigned. phy_attach_direct() -\u003e\nphy_link_topo_add_phy() reads dev-\u003enetdev_ops through\nnetdev_need_ops_lock() since the commit in question, so probing crashes\nwith a NULL pointer dereference when CONFIG_NET_SHAPER is enabled.\n\nAssign netdev_ops before the PHY attach, as was done for emac in commit\n7c9f391ec89c (\"net: emac: move setting of netops to fix crash\").\n\nFixes: ded86da4bbb7 (\"net: ethtool: relax ethnl_req_get_phydev() locking assertion\")\nSigned-off-by: David Yang \u003cmmyangfl@gmail.com\u003e\nReviewed-by: Maxime Chevallier \u003cmaxime.chevallier@bootlin.com\u003e\nReviewed-by: Ciprian Regus \u003cciprian.regus@analog.com\u003e\nLink: https://patch.msgid.link/20261008022656.3592191-5-mmyangfl@gmail.com\nReviewed-by: Jijie Shao \u003cshaojijie@huawei.com\u003e\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "93710baca1517aec76f6370a1bace3ec1327e48b",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/adi/adin1140.c",
      "new_id": "ca96a919c24b72c06a7531746404d27c53bde23a",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/adi/adin1140.c"
    }
  ]
}
