[
  [
    "linux-2.6.23/scripts/ksymhash/elflib.c~", 
    "linux-2.6.23/scripts/ksymhash/elflib.c", 
    [
      "--- linux-2.6.23/scripts/ksymhash/elflib.c~", 
      "+++ linux-2.6.23/scripts/ksymhash/elflib.c", 
      "@@ -80,8 +80,8 @@", 
      "}", 
      "", 
      "/* Check if it is the vmlinux or lkm */", 
      "-\tlkm_suffix = strstr(filename, \".ko\");", 
      "-\tif (lkm_suffix && (strlen(lkm_suffix) == 3))", 
      "+\tlkm_suffix = strncmp(filename + strlen(filename) - 3, \".ko\", 3);", 
      "+\tif (lkm_suffix == 0)", 
      "/* Likely this is a lkm */", 
      "info->is_lkm = 1;", 
      "else {"
    ]
  ]
]