)]}'
{
  "commit": "35dead4235e2b67da7275b4122fed37099c2f462",
  "tree": "643b8e561025e5f49b17e3a74ee4d7812123aecd",
  "parents": [
    "ebd65a5855a1ddb21706e630c9ba1b9e80c767f7"
  ],
  "author": {
    "name": "Helge Deller",
    "email": "deller@gmx.de",
    "time": "Thu Dec 03 00:29:15 2009 +0100"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Wed Dec 02 15:38:25 2009 -0800"
  },
  "message": "modules: don\u0027t export section names of empty sections via sysfs\n\nOn the parisc architecture we face for each and every loaded kernel module\nthis kernel \"badness warning\":\n  sysfs: cannot create duplicate filename \u0027/module/ac97_bus/sections/.text\u0027\n  Badness at fs/sysfs/dir.c:487\n\nReason for that is, that on parisc all kernel modules do have multiple\n.text sections due to the usage of the -ffunction-sections compiler flag\nwhich is needed to reach all jump targets on this platform.\n\nAn objdump on such a kernel module gives:\nSections:\nIdx Name          Size      VMA       LMA       File off  Algn\n  0 .note.gnu.build-id 00000024  00000000  00000000  00000034  2**2\n                  CONTENTS, ALLOC, LOAD, READONLY, DATA\n  1 .text         00000000  00000000  00000000  00000058  2**0\n                  CONTENTS, ALLOC, LOAD, READONLY, CODE\n  2 .text.ac97_bus_match 0000001c  00000000  00000000  00000058  2**2\n                  CONTENTS, ALLOC, LOAD, READONLY, CODE\n  3 .text         00000000  00000000  00000000  000000d4  2**0\n                  CONTENTS, ALLOC, LOAD, READONLY, CODE\n...\nSince the .text sections are empty (size of 0 bytes) and won\u0027t be\nloaded by the kernel module loader anyway, I don\u0027t see a reason\nwhy such sections need to be listed under\n/sys/module/\u003cmodule_name\u003e/sections/\u003csection_name\u003e either.\n\nThe attached patch does solve this issue by not exporting section\nnames which are empty.\n\nThis fixes bugzilla http://bugzilla.kernel.org/show_bug.cgi?id\u003d14703\n\nSigned-off-by: Helge Deller \u003cdeller@gmx.de\u003e\nCC: rusty@rustcorp.com.au\nCC: akpm@linux-foundation.org\nCC: James.Bottomley@HansenPartnership.com\nCC: roland@redhat.com\nCC: dave@hiauly1.hia.nrc.ca\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8b7d8805819d07d998467db967c777c04021ec9e",
      "old_mode": 33188,
      "old_path": "kernel/module.c",
      "new_id": "5842a71cf0527163c960cc8c41d549a5033e3443",
      "new_mode": 33188,
      "new_path": "kernel/module.c"
    }
  ]
}
