mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-19 20:19:01 +02:00
![]() These patches are originally from meta-freescale, commit 075681e8 , and were modified slightly to apply to kernel 4.14. This fixes errors while building other modules, especially kernel-module-imx-gpu-viv, which otherwise produces compile errors like: | [...]tmp/work-shared/nitrogen8m/kernel-source/include/linux/module.h:131:6: error: 'init_module' specifies less restrictive attribute than its target 'gpu_init': 'cold' [-Werror=missing-attributes] | 131 | int init_module(void) __attribute__((alias(#initfn))); | | ^~~~~~~~~~~ | [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_driver.c:1445:1: note: in expansion of macro 'module_init' | 1445 | module_init(gpu_init); | | ^~~~~~~~~~~ | [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_driver.c:1411:19: note: 'init_module' target declared here | 1411 | static int __init gpu_init(void) | | ^~~~~~~~ | In file included from [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_linux.h:61, | from [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_driver.c:61: | [...]tmp/work-shared/nitrogen8m/kernel-source/include/linux/module.h:137:7: error: 'cleanup_module' specifies less restrictive attribute than its target 'gpu_exit': 'cold' [-Werror=missing-attributes] | 137 | void cleanup_module(void) __attribute__((alias(#exitfn))); | | ^~~~~~~~~~~~~~ | [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_driver.c:1446:1: note: in expansion of macro 'module_exit' | 1446 | module_exit(gpu_exit); | | ^~~~~~~~~~~ | [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_driver.c:1437:20: note: 'cleanup_module' target declared here | 1437 | static void __exit gpu_exit(void) | | ^~~~~~~~ Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> |
||
---|---|---|
.. | ||
linux-advantech-4.9 | ||
linux-boundary | ||
linux-compulab-3.14.28 | ||
linux-congatec-4.9.11 | ||
linux-denx/m53evk | ||
linux-fslc | ||
linux-fslc-lts-4.19 | ||
linux-gateworks-imx-3.14 | ||
linux-karo-3.16 | ||
linux-timesys-3.13/pcm052 | ||
linux-toradex-4.4 | ||
linux-toradex-4.9-1.0.x | ||
linux-variscite-4.1.15 | ||
linux-advantech_4.9.bb | ||
linux-boundary_4.14.x.bb | ||
linux-compulab_3.14.28.bb | ||
linux-congatec_4.9.11.bb | ||
linux-denx_3.9.bb | ||
linux-denx.inc | ||
linux-fslc_%.bbappend | ||
linux-fslc-lts-4.19.bbappend | ||
linux-gateworks-imx_3.14.bb | ||
linux-karo_3.16.bb | ||
linux-timesys_3.13.bb | ||
linux-toradex_4.4.bb | ||
linux-toradex_4.9-1.0.x.bb | ||
linux-variscite_4.1.15.bb |