)]}'
{
  "commit": "67495b0678169651b0b8b13ae0526b25326d2392",
  "tree": "5e93c453abf1dd1e02581bb620514d969e26ef24",
  "parents": [
    "7760ffea21e0a7c09997920739240a7a871cff6c"
  ],
  "author": {
    "name": "Bart Van Assche",
    "email": "bvanassche@google.com",
    "time": "Thu Sep 10 14:42:56 2026 -0700"
  },
  "committer": {
    "name": "Bart Van Assche",
    "email": "bvanassche@google.com",
    "time": "Tue Sep 22 15:45:37 2026 -0700"
  },
  "message": "linux-gbmc(stable): Annotate stmmac stat_string with __nonstring\n\nWhen building linux-gbmc-stable (6.14.1) with CONFIG_WERROR enabled,\nGCC 15 produces the following compiler error:\n\ndrivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:117:53: error:\ninitializer-string for array of \u0027char\u0027 truncates NUL terminator but\ndestination lacks \u0027nonstring\u0027 attribute (33 chars into 32 available)\n[-Werror\u003dunterminated-string-initialization]\n  117 |         STMMAC_STAT(ptp_rx_msg_type_pdelay_follow_up),\n      |                                                     ^\n\nIn struct stmmac_stats, stat_string is a fixed-size character array of\nETH_GSTRING_LEN (32) bytes. The statistic identifier\nptp_rx_msg_type_pdelay_follow_up stringifies to exactly 32 characters.\nInitializing stat_string with this 32-character string literal leaves\nno space for a terminating NUL byte, causing GCC 15 to flag it with\n-Wunterminated-string-initialization.\n\nAdd a kernel patch that annotates stat_string with the __nonstring\nattribute in struct stmmac_stats to declare that the character array\nis not required to be NUL-terminated. Add this patch to SRC_URI in\nlinux-gbmc_stable.bb to resolve the build failure.\n\nFixes: 80892bc818ea (\"linux-gbmc(stable): 6.13 -\u003e 6.14\")\nTested: Built\nFusion-Link: fusion2 N/A\nGoogle-Bug-Id: 558753346\nChange-Id: Ib0d912cc945393c444ba354ef328fb1c380d9107\nSigned-off-by: Bart Van Assche \u003cbvanassche@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1f6044512d5a55b0f5eecfb98e41802540a93e34",
      "new_mode": 33188,
      "new_path": "recipes-kernel/linux/files/0001-net-stmmac-Annotate-stat_string-with-__nonstring.patch"
    },
    {
      "type": "modify",
      "old_id": "d29e7e6cb00329d1bafafc537f14d5bce7ce8be2",
      "old_mode": 33188,
      "old_path": "recipes-kernel/linux/linux-gbmc_stable.bb",
      "new_id": "fa0595ebe7550f55114df7c88111a8fff9db20f6",
      "new_mode": 33188,
      "new_path": "recipes-kernel/linux/linux-gbmc_stable.bb"
    }
  ]
}
