)]}'
{
  "commit": "1e8249b8a4e960018e4baca6b523b8a4500af600",
  "tree": "71087bd270c8c329a958e9a38699eee6e4ba9e9a",
  "parents": [
    "2e6e902d185027f8e3cb8b7305238f7e35d6a436"
  ],
  "author": {
    "name": "Helge Deller",
    "email": "deller@gmx.de",
    "time": "Thu Nov 29 17:05:47 2018 +0100"
  },
  "committer": {
    "name": "Helge Deller",
    "email": "deller@gmx.de",
    "time": "Sun Dec 02 20:34:07 2018 +0100"
  },
  "message": "parisc: Enable -ffunction-sections for modules on 32-bit kernel\n\nFrank Schreiner reported, that since kernel 4.18 he faces sysfs-warnings\nwhen loading modules on a 32-bit kernel. Here is one such example:\n\n sysfs: cannot create duplicate filename \u0027/module/nfs/sections/.text\u0027\n CPU: 0 PID: 98 Comm: modprobe Not tainted 4.18.0-2-parisc #1 Debian 4.18.10-2\n Backtrace:\n  [\u003c1017ce2c\u003e] show_stack+0x3c/0x50\n  [\u003c107a7210\u003e] dump_stack+0x28/0x38\n  [\u003c103f900c\u003e] sysfs_warn_dup+0x88/0xac\n  [\u003c103f8b1c\u003e] sysfs_add_file_mode_ns+0x164/0x1d0\n  [\u003c103f9e70\u003e] internal_create_group+0x11c/0x304\n  [\u003c103fa0a0\u003e] sysfs_create_group+0x48/0x60\n  [\u003c1022abe8\u003e] load_module.constprop.35+0x1f9c/0x23b8\n  [\u003c1022b278\u003e] sys_finit_module+0xd0/0x11c\n  [\u003c101831dc\u003e] syscall_exit+0x0/0x14\n\nThis warning gets triggered by the fact, that due to commit 24b6c22504a2\n(\"parisc: Build kernel without -ffunction-sections\") we now get multiple .text\nsections in the kernel modules for which sysfs_create_group() can\u0027t create\nmultiple virtual files.\n\nThis patch works around the problem by re-enabling the -ffunction-sections\ncompiler option for modules, while keeping it disabled for the non-module\nkernel code.\n\nReported-by: Frank Scheiner \u003cfrank.scheiner@web.de\u003e\nFixes: 24b6c22504a2 (\"parisc: Build kernel without -ffunction-sections\")\nCc: \u003cstable@vger.kernel.org\u003e # v4.18+\nSigned-off-by: Helge Deller \u003cdeller@gmx.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d047a09d660f003de3b3059984de4d9974ae646d",
      "old_mode": 33188,
      "old_path": "arch/parisc/Makefile",
      "new_id": "1085385e1f06a433ccf840fae55b8f76f613e97a",
      "new_mode": 33188,
      "new_path": "arch/parisc/Makefile"
    }
  ]
}
