You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/generic/patches-4.9
Alexey Brodkin 2b27e62e74 linux-4.9: Fix building of DWC3 module
DWC3 driver uses of_usb_get_phy_mode() which is
implemented in drivers/usb/phy/of.c and in bare minimal
configuration it might not be pulled in kernel binary.

In case of ARC or ARM this could be easily reproduced with
"allnodefconfig" +CONFIG_USB=m +CONFIG_USB_DWC3=m.

On building all ends-up with:
---------------------->8------------------
  Kernel: arch/arm/boot/Image is ready
  Kernel: arch/arm/boot/zImage is ready
  Building modules, stage 2.
  MODPOST 5 modules
ERROR: "of_usb_get_phy_mode" [drivers/usb/dwc3/dwc3.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
---------------------->8------------------

This was affecting Lede in case of CONFIG_ALL_KMODS=y.

The patch is already scheduled for v4.12 and once it is backported to
4.9.y it must be removed from here.

Note this patch makes sense not only for ARC instead it fixes
a generic issue which may affect more arches and platforms thus
putting it in "generic/" folder.

Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [patch rename]
7 years ago
..
010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch kernel: add linux 4.9 support 8 years ago
011-kbuild-export-SUBARCH.patch kernel: add compile fix for linux 4.9 on x86 8 years ago
012-usb-Make-sure-usb-phy-of-gets-built-in.patch linux-4.9: Fix building of DWC3 module 7 years ago
020-backport_netfilter_rtcache.patch kernel: add linux 4.9 support 8 years ago
021-bridge-multicast-to-unicast.patch kernel: update kernel 4.9 to 4.9.17 7 years ago
022-net-add-devm-version-of-alloc_etherdev_mqs-function.patch kernel: update 4.9 to 4.9.12 7 years ago
023-1-smsc95xx-Use-skb_cow_head-to-deal-with-cloned-skbs.patch kernel: use skb_cow_head() to deal with cloned skbs 7 years ago
023-2-smsc75xx-use-skb_cow_head-to-deal-with-cloned-skbs.patch kernel: use skb_cow_head() to deal with cloned skbs 7 years ago
023-3-cx82310_eth-use-skb_cow_head-to-deal-with-cloned-skb.patch kernel: use skb_cow_head() to deal with cloned skbs 7 years ago
023-4-sr9700-use-skb_cow_head-to-deal-with-cloned-skbs.patch kernel: use skb_cow_head() to deal with cloned skbs 7 years ago
023-5-lan78xx-use-skb_cow_head-to-deal-with-cloned-skbs.patch kernel: use skb_cow_head() to deal with cloned skbs 7 years ago
023-6-ch9200-use-skb_cow_head-to-deal-with-cloned-skbs.patch kernel: use skb_cow_head() to deal with cloned skbs 7 years ago
023-7-kaweth-use-skb_cow_head-to-deal-with-cloned-skbs.patch kernel: use skb_cow_head() to deal with cloned skbs 7 years ago
030-01-ubifs-Drop-softlimit-and-delta-fields-from-struct-ub.patch kernel: add linux 4.9 support 8 years ago
030-02-ubifs-Use-dirty_writeback_interval-value-for-wbuf-ti.patch kernel: add linux 4.9 support 8 years ago
031-ubifs-fix-RENAME_WHITEOUT-support.patch kernel: fix whiteout rename on ubifs (FS#579) 7 years ago
040-01-MIPS-Introduce-irq_stack.patch kernel: add linux 4.9 support 8 years ago
040-02-MIPS-Stack-unwinding-while-on-IRQ-stack.patch kernel: update kernel 4.9 to 4.9.14 7 years ago
040-03-MIPS-Only-change-28-to-thread_info-if-coming-from-us.patch kernel: add linux 4.9 support 8 years ago
040-04-MIPS-Switch-to-the-irq_stack-in-interrupts.patch kernel: add linux 4.9 support 8 years ago
040-05-MIPS-Select-HAVE_IRQ_EXIT_ON_IRQ_STACK.patch kernel: add linux 4.9 support 8 years ago
040-06-MIPS-IRQ-Stack-Fix-erroneous-jal-to-plat_irq_dispatc.patch kernel: MIPS: IRQ Stack: Fix erroneous jal to plat_irq_dispatch 7 years ago
050-usb-dwc2-Remove-unnecessary-kfree.patch kernel: add linux 4.9 support 8 years ago
060-0001-mtd-bcm47xxpart-fix-parsing-first-block-after-aligne.patch kernel: backport bcm47xxsflash support for reading 32 MiB flashes 7 years ago
060-0002-mtd-bcm47xxsflash-use-platform_-set-get-_drvdata.patch kernel: backport bcm47xxsflash support for reading 32 MiB flashes 7 years ago
060-0003-mtd-bcm47xxsflash-support-reading-flash-out-of-mappi.patch kernel: backport bcm47xxsflash support for reading 32 MiB flashes 7 years ago
060-0004-mtd-bcm47xxpart-move-TRX-parsing-code-to-separated-f.patch kernel: move upstream accepted bcm47xxpart TRX cleanups 7 years ago
060-0005-mtd-bcm47xxpart-support-layouts-with-multiple-TRX-pa.patch kernel: move upstream accepted bcm47xxpart TRX cleanups 7 years ago
061-v4.10-0001-mtd-spi-nor-add-Macronix-mx25u25635f-to-list-of-know.patch kernel: update spi-nor in 4.9 to version from Linus's tree (4.10) 8 years ago
061-v4.10-0002-mtd-spi-nor-fix-spansion-quad-enable.patch kernel: update spi-nor in 4.9 to version from Linus's tree (4.10) 8 years ago
061-v4.10-0003-mtd-spi-nor-fix-flags-for-s25fl128s.patch kernel: update spi-nor in 4.9 to version from Linus's tree (4.10) 8 years ago
061-v4.10-0004-mtd-spi-nor-add-support-for-s25fl208k.patch kernel: update spi-nor in 4.9 to version from Linus's tree (4.10) 8 years ago
061-v4.10-0005-mtd-spi-nor-Add-at25df321-spi-nor-flash-support.patch kernel: update spi-nor in 4.9 to version from Linus's tree (4.10) 8 years ago
061-v4.10-0006-mtd-spi-nor-Add-support-for-N25Q016A.patch kernel: update spi-nor in 4.9 to version from Linus's tree (4.10) 8 years ago
061-v4.10-0007-mtd-spi-nor-Add-support-for-mr25h40.patch kernel: update spi-nor in 4.9 to version from Linus's tree (4.10) 8 years ago
062-v4.11-0001-mtd-spi-nor-Add-support-for-S3AN-spi-nor-devices.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 8 years ago
062-v4.11-0002-mtd-spi-nor-improve-macronix_quad_enable.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 8 years ago
062-v4.11-0003-mtd-spi-nor-remove-WARN_ONCE-message-in-spi_nor_writ.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 8 years ago
062-v4.11-0004-mtd-spi-nor-rename-SPINOR_OP_-macros-of-the-4-byte-a.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 8 years ago
062-v4.11-0005-mtd-spi-nor-add-a-stateless-method-to-support-memory.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 8 years ago
062-v4.11-0006-mtd-spi-nor-Add-lock-unlock-support-for-f25l32pa.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 8 years ago
062-v4.11-0007-mtd-spi-nor-Fix-S3AN-addressing-calculation.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 8 years ago
062-v4.11-0008-mtd-spi-nor-Add-support-for-gd25q16.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 8 years ago
063-mtd-spi-nor-enable-stateless-4b-op-codes-for-mx25u25.patch generic: mtd: backport mx25u25635f stateless 4b support 7 years ago
070-bcma-from-4.11.patch kernel: update kernel 4.9 to 4.9.14 7 years ago
071-v4.10-0001-net-bgmac-allocate-struct-bgmac-just-once-don-t-copy.patch kernel: add linux 4.9 support 8 years ago
071-v4.10-0002-net-bgmac-drop-struct-bcma_mdio-we-don-t-need-anymor.patch kernel: add linux 4.9 support 8 years ago
071-v4.10-0003-net-bgmac-use-PHY-subsystem-for-initializing-PHY.patch kernel: add linux 4.9 support 8 years ago
072-bcma-from-4.12.patch kernel: update bcma including recent changes for 4.12 7 years ago
075-v4.10-0001-net-phy-broadcom-Update-Auxiliary-Control-Register-m.patch kernel: add linux 4.9 support 8 years ago
075-v4.10-0002-net-phy-broadcom-Add-support-for-BCM54612E.patch kernel: add linux 4.9 support 8 years ago
075-v4.10-0003-net-phy-broadcom-add-bcm54xx_auxctl_read.patch kernel: add linux 4.9 support 8 years ago
075-v4.10-0004-net-phy-broadcom-Add-BCM54810-PHY-entry.patch kernel: add linux 4.9 support 8 years ago
075-v4.10-0005-net-phy-broadcom-Move-bcm54xx_auxctl_-read-write-to-.patch kernel: add linux 4.9 support 8 years ago
076-v4.11-0001-net-phy-broadcom-Allow-enabling-or-disabling-of-EEE.patch kernel: add linux 4.9 support 8 years ago
076-v4.11-0002-net-phy-broadcom-Add-support-code-for-reading-PHY-co.patch kernel: add linux 4.9 support 8 years ago
076-v4.11-0003-net-phy-bcm7xxx-Add-entry-for-BCM7278.patch kernel: add linux 4.9 support 8 years ago
076-v4.11-0004-net-phy-bcm7xxx-Implement-EGPHY-workaround-for-7278.patch kernel: add linux 4.9 support 8 years ago
076-v4.11-0005-net-phy-broadcom-use-auxctl-reading-helper-in-BCM546.patch kernel: add linux 4.9 support 8 years ago
076-v4.11-0006-net-phy-broadcom-add-support-for-BCM54210E.patch kernel: add linux 4.9 support 8 years ago
076-v4.11-0007-net-phy-broadcom-rehook-BCM54612E-specific-init.patch kernel: add linux 4.9 support 8 years ago
080-0001-leds-core-add-OF-variants-of-LED-registering-functio.patch kernel: fix of_node handling in LEDs core code 7 years ago
080-0002-leds-gpio-use-OF-variant-of-LED-registering-function.patch kernel: fix of_node handling in LEDs core code 7 years ago
081-0001-thermal-bcm2835-add-thermal-driver-for-bcm2835-SoC.patch kernel: backport Broadcom thermal drivers 7 years ago
081-0002-thermal-broadcom-add-Northstar-thermal-driver.patch kernel: backport Broadcom thermal drivers 7 years ago
100-MIPS-fix-cache-flushing-for-highmem-pages.patch kernel: add linux 4.9 support 8 years ago
110-ehci_hcd_ignore_oc.patch kernel: add linux 4.9 support 8 years ago
120-Fix-alloc_node_mem_map-with-ARCH_PFN_OFFSET-calcu.patch kernel: add linux 4.9 support 8 years ago
121-of-Add-check-to-of_scan_flat_dt-before-accessing-ini.patch kernel: add linux 4.9 support 8 years ago
130-add-linux-spidev-compatible-si3210.patch kernel: add linux 4.9 support 8 years ago
131-spi-use-gpio_set_value_cansleep-for-setting-chipsele.patch kernel: add linux 4.9 support 8 years ago
140-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch kernel: add linux 4.9 support 8 years ago
141-jffs2-add-RENAME_EXCHANGE-support.patch kernel: Fix the incorrect i_nlink count after jffs2's RENAME_EXCHANGE operations. 7 years ago
150-bridge_allow_receiption_on_disabled_port.patch kernel: update kernel 4.9 to 4.9.17 7 years ago
160-mtd-part-add-generic-parsing-of-linux-part-probe.patch kernel: add linux 4.9 support 8 years ago
170-MIPS-PCI-add-controllers-before-the-specified-head.patch kernel: update MIPS pci fix to the accepted version 7 years ago
180-net-phy-at803x-add-support-for-AT8032.patch kernel: add linux 4.9 support 8 years ago
200-fix_localversion.patch kernel: add linux 4.9 support 8 years ago
201-extra_optimization.patch kernel: add linux 4.9 support 8 years ago
202-reduce_module_size.patch kernel: add linux 4.9 support 8 years ago
203-kallsyms_uncompressed.patch kernel: add linux 4.9 support 8 years ago
204-module_strip.patch kernel: add linux 4.9 support 8 years ago
205-backtrace_module_info.patch kernel: fix compile error on linux 4.9 with CONFIG_KALLSYMS disabled 7 years ago
206-mips-disable-vdso.patch kernel: add linux 4.9 support 8 years ago
207-disable-modorder.patch kernel: do not build modules.order 7 years ago
210-darwin_scripts_include.patch kernel: add linux 4.9 support 8 years ago
211-host_tools_portability.patch kernel: fix linux 4.9 host tools portability issues 7 years ago
212-byteshift_portability.patch kernel: add linux 4.9 support 8 years ago
214-spidev_h_portability.patch kernel: add linux 4.9 support 8 years ago
220-gc_sections.patch kernel: fix earlycon by keeping __earlycon_table 7 years ago
221-module_exports.patch kernel: add linux 4.9 support 8 years ago
222-arm_zimage_none.patch kernel: add linux 4.9 support 8 years ago
230-openwrt_lzma_options.patch kernel: add linux 4.9 support 8 years ago
240-remove-unsane-filenames-from-deps_initramfs-list.patch kernel: add linux 4.9 support 8 years ago
250-netfilter_depends.patch kernel: add linux 4.9 support 8 years ago
251-sound_kconfig.patch kernel: add linux 4.9 support 8 years ago
252-mv_cesa_depends.patch kernel: add linux 4.9 support 8 years ago
253-ssb_b43_default_on.patch kernel: add linux 4.9 support 8 years ago
254-textsearch_kconfig_hacks.patch kernel: add linux 4.9 support 8 years ago
255-lib80211_kconfig_hacks.patch kernel: add linux 4.9 support 8 years ago
256-crypto_add_kconfig_prompts.patch kernel: add linux 4.9 support 8 years ago
257-wireless_ext_kconfig_hack.patch kernel: add linux 4.9 support 8 years ago
258-netfilter_netlink_kconfig_hack.patch kernel: add linux 4.9 support 8 years ago
259-regmap_dynamic.patch kernel: add linux 4.9 support 8 years ago
260-crypto_test_dependencies.patch kernel: add linux 4.9 support 8 years ago
261-enable_wilink_platform_without_drivers.patch kernel: add linux 4.9 support 8 years ago
270-uapi-kernel.h-glibc-specific-inclusion-of-sysinfo.h.patch kernel: add linux 4.9 support 8 years ago
271-uapi-libc-compat.h-do-not-rely-on-__GLIBC__.patch kernel: add linux 4.9 support 8 years ago
272-uapi-if_ether.h-prevent-redefinition-of-struct-ethhd.patch kernel: add linux 4.9 support 8 years ago
280-rfkill-stubs.patch kernel: add linux 4.9 support 8 years ago
300-mips_expose_boot_raw.patch kernel: add linux 4.9 support 8 years ago
301-mips_image_cmdline_hack.patch kernel: add linux 4.9 support 8 years ago
302-mips_no_branch_likely.patch kernel: add linux 4.9 support 8 years ago
304-mips_disable_fpu.patch kernel: update kernel 4.9 to version 4.9.10 7 years ago
305-mips_module_reloc.patch kernel: fix crashes on MIPS when loading kernel modules under memory pressure 7 years ago
306-mips_mem_functions_performance.patch kernel: fix MIPS memory function optimization build error in decompressor 7 years ago
307-mips_highmem_offset.patch kernel: add linux 4.9 support 8 years ago
308-mips32r2_tune.patch kernel: add linux 4.9 support 8 years ago
310-arm_module_unresolved_weak_sym.patch kernel: add linux 4.9 support 8 years ago
321-powerpc_crtsavres_prereq.patch kernel: add linux 4.9 support 8 years ago
330-MIPS-kexec-Accept-command-line-parameters-from-users.patch kernel: add linux 4.9 support 8 years ago
332-arc-add-OWRTDTB-section.patch kernel: add linux 4.9 support 8 years ago
333-arc-enable-unaligned-access-in-kernel-mode.patch kernel: add linux 4.9 support 8 years ago
400-mtd-add-rootfs-split-support.patch kernel: add linux 4.9 support 8 years ago
401-mtd-add-support-for-different-partition-parser-types.patch kernel: add linux 4.9 support 8 years ago
402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch kernel: add linux 4.9 support 8 years ago
403-mtd-hook-mtdsplit-to-Kbuild.patch kernel: add linux 4.9 support 8 years ago
404-mtd-add-more-helper-functions.patch kernel: add linux 4.9 support 8 years ago
410-mtd-move-forward-declaration-of-struct-mtd_info.patch kernel: add linux 4.9 support 8 years ago
411-mtd-partial_eraseblock_write.patch kernel: add linux 4.9 support 8 years ago
412-mtd-partial_eraseblock_unlock.patch kernel: add linux 4.9 support 8 years ago
420-mtd-redboot_space.patch kernel: add linux 4.9 support 8 years ago
430-mtd-add-myloader-partition-parser.patch kernel: add linux 4.9 support 8 years ago
431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch kernel: add linux 4.9 support 8 years ago
432-mtd-bcm47xxpart-detect-T_Meter-partition.patch kernel: add linux 4.9 support 8 years ago
440-block2mtd_init.patch kernel: add linux 4.9 support 8 years ago
441-block2mtd_probe.patch kernel: add linux 4.9 support 8 years ago
460-mtd-cfi_cmdset_0002-no-erase_suspend.patch kernel: add linux 4.9 support 8 years ago
461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch kernel: add linux 4.9 support 8 years ago
465-m25p80-mx-disable-software-protection.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 8 years ago
476-mtd-spi-nor-add-eon-en25q128.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 8 years ago
477-mtd-add-spi-nor-add-mx25u3235f.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 8 years ago
480-mtd-set-rootfs-to-be-root-dev.patch kernel: add linux 4.9 support 8 years ago
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch kernel: update kernel 4.9 to 4.9.20 7 years ago
491-ubi-auto-create-ubiblock-device-for-rootfs.patch kernel: add linux 4.9 support 8 years ago
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch kernel: add linux 4.9 support 8 years ago
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch kernel: add linux 4.9 support 8 years ago
494-mtd-ubi-add-EOF-marker-support.patch kernel: add linux 4.9 support 8 years ago
530-jffs2_make_lzma_available.patch kernel: add linux 4.9 support 8 years ago
531-debloat_lzma.patch kernel: add linux 4.9 support 8 years ago
532-jffs2_eofdetect.patch kernel: add linux 4.9 support 8 years ago
551-ubifs-fix-default-compression-selection.patch kernel: add linux 4.9 support 8 years ago
600-netfilter_conntrack_flush.patch kernel: add linux 4.9 support 8 years ago
610-netfilter_match_bypass_default_checks.patch kernel: add linux 4.9 support 8 years ago
611-netfilter_match_bypass_default_table.patch kernel: add linux 4.9 support 8 years ago
612-netfilter_match_reduce_memory_access.patch kernel: add linux 4.9 support 8 years ago
613-netfilter_optional_tcp_window_check.patch kernel: add linux 4.9 support 8 years ago
616-net_optimize_xfrm_calls.patch kernel: add linux 4.9 support 8 years ago
630-packet_socket_type.patch kernel: update kernel 4.9 to 4.9.17 7 years ago
640-bridge-only-accept-EAP-locally.patch kernel: update kernel 4.9 to 4.9.17 7 years ago
641-bridge_port_isolate.patch kernel: update kernel 4.9 to 4.9.17 7 years ago
650-pppoe_header_pad.patch kernel: add linux 4.9 support 8 years ago
651-wireless_mesh_header.patch kernel: add linux 4.9 support 8 years ago
655-increase_skb_pad.patch kernel: add linux 4.9 support 8 years ago
660-fq_codel_defaults.patch kernel: add linux 4.9 support 8 years ago
661-use_fq_codel_by_default.patch kernel: add linux 4.9 support 8 years ago
662-remove_pfifo_fast.patch kernel: add linux 4.9 support 8 years ago
666-Add-support-for-MAP-E-FMRs-mesh-mode.patch kernel: update 4.9 to 4.9.12 7 years ago
670-ipv6-allow-rejecting-with-source-address-failed-policy.patch kernel: add linux 4.9 support 8 years ago
671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch kernel: add linux 4.9 support 8 years ago
680-NET-skip-GRO-for-foreign-MAC-addresses.patch kernel: update kernel 4.9 to 4.9.17 7 years ago
681-NET-add-of_get_mac_address_mtd.patch kernel: add linux 4.9 support 8 years ago
700-swconfig_switch_drivers.patch kernel: add linux 4.9 support 8 years ago
701-phy_extension.patch kernel: add linux 4.9 support 8 years ago
702-phy_add_aneg_done_function.patch kernel: fix phy aneg crash 7 years ago
703-phy-add-detach-callback-to-struct-phy_driver.patch kernel: add linux 4.9 support 8 years ago
704-phy-no-genphy-soft-reset.patch kernel: add linux 4.9 support 8 years ago
710-phy-add-mdio_register_board_info.patch kernel: add linux 4.9 support 8 years ago
721-phy_packets.patch kernel: update kernel 4.9 to 4.9.17 7 years ago
734-net-phy-at803x-allow-to-configure-via-pdata.patch kernel: add linux 4.9 support 8 years ago
735-net-phy-at803x-fix-at8033-sgmii-mode.patch kernel: add linux 4.9 support 8 years ago
773-bgmac-add-srab-switch.patch kernel: add linux 4.9 support 8 years ago
810-pci_disable_common_quirks.patch kernel: update kernel 4.9 to 4.9.17 7 years ago
811-pci_disable_usb_common_quirks.patch kernel: add linux 4.9 support 8 years ago
821-usb-Remove-annoying-warning-about-bogus-URB.patch kernel: add linux 4.9 support 8 years ago
831-ledtrig_netdev.patch kernel: add linux 4.9 support 8 years ago
834-ledtrig-libata.patch kernel: update kernel 4.9 to version 4.9.10 7 years ago
835-misc-owl_loader.patch kernel: add linux 4.9 support 8 years ago
840-rtc7301.patch kernel: add linux 4.9 support 8 years ago
841-rtc_pt7c4338.patch kernel: add linux 4.9 support 8 years ago
890-uart_optional_sysrq.patch kernel: add linux 4.9 support 8 years ago
901-debloat_sock_diag.patch kernel: update kernel 4.9 to 4.9.20 7 years ago
902-debloat_proc.patch kernel: update kernel 4.9 to 4.9.20 7 years ago
904-debloat_dma_buf.patch kernel: add linux 4.9 support 8 years ago
910-kobject_uevent.patch kernel: add linux 4.9 support 8 years ago
911-kobject_add_broadcast_uevent.patch kernel: add linux 4.9 support 8 years ago
920-mangle_bootargs.patch kernel: add linux 4.9 support 8 years ago
921-always-create-console-node-in-initramfs.patch kernel: add linux 4.9 support 8 years ago
930-crashlog.patch kernel: fix crashlog build error on 4.9 8 years ago