summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-21backport-include: fix loop in includingColibri-iMX7_LXDE-Image_2.8b7.-20200610Colibri-iMX6_LXDE-Image_2.8b7.-20200610Colibri-iMX6ULL_LXDE-Image_2.8b7.-20200610Apalis-iMX6_LXDE-Image_2.8b7.-20200610Apalis-TK1_LXDE-Image_2.8b7.-20200610Apalis-TK1-Mainline_LXDE-Image_2.8b7.-20200610toradex-5.4Oleksandr Suvorov
asm-generic/bug.h should proceeded before linux/bug.h to avoid the compillation error [1]. [1] ======================================= In file included from backport-include/linux/bug.h:3, from backport-include/linux/kernel.h:4, from include/asm-generic/bug.h:13, from backport-include/asm-generic/bug.h:3, from ./arch/arm/include/asm/bug.h:62, from ./arch/arm/include/asm/div64.h:63, from include/linux/math64.h:5, from backport-include/linux/math64.h:3, from include/linux/jiffies.h:5, from backport-include/linux/jiffies.h:3, from net/mac80211/rx.c:12: include/linux/bug.h:91:47: warning: ‘struct bug_entry’ declared inside parameter list will not be visible outside of this definition or declaration 91 | static inline int is_warning_bug(const struct bug_entry *bug) | ^~~~~~~~~ include/linux/bug.h: In function ‘is_warning_bug’: include/linux/bug.h:93:12: error: dereferencing pointer to incomplete type ‘const struct bug_entry’ 93 | return bug->flags & BUGFLAG_WARNING; | ^~ ======================================= Related-to: ELB-2724 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-04-09compat: add missed dependancyVerdin-iMX8MM_Console-Image_3.0b4.254-20200421Colibri-iMX8X_Console-Image_3.0b4.254-20200421Colibri-iMX7_Console-Image_3.0b4.254-20200421Colibri-iMX7-eMMC_Console-Image_3.0b4.254-20200421Colibri-iMX6_Console-Image_3.0b4.254-20200421Colibri-iMX6ULL_Console-Image_3.0b4.254-20200421Apalis-iMX8_Console-Image_3.0b4.254-20200421Apalis-iMX8X_Console-Image_3.0b4.254-20200421Apalis-iMX6_Console-Image_3.0b4.254-20200421Apalis-TK1_Console-Image_3.0b4.254-20200421Apalis-TK1-Mainline_Console-Image_3.0b4.254-20200421Oleksandr Suvorov
verification/pkcs7_verify.c uses the hash_algo_name array that is available in kernel exported names only if CRYPTO_HASH_INFO config option enabled. Add this dependancy to avoid getting late error on loading compat.ko module [1]. [1] --------------------------------- [ 12.645547] compat: Unknown symbol hash_algo_name (err 0) --------------------------------- Related-to: ELB-2388 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-04-09compat: make backports-4.18 compatible with kernel < 3.19Oleksandr Suvorov
backports-4.18.c uses ktime_divns() function. As ktime_divns() is not exported in kernel < 3.19, this symbol will not be resolved on compat.ko loading. This fixes the linking issue [1]. [1] ------------------------------- WARNING: "ktime_divns" [compat/compat.ko] undefined! ------------------------------- Related-to: ELB-2388 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-04-09make: add option to install modules onlyOleksandr Suvorov
Building backports for another target host makes useless commands ralated to a rebuilding of initrd images. Add make option mod_install that just installs modules files into target modules directory. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-04-09staging: rtl8188eu: add default configOleksandr Suvorov
Add default config file to build the rtl8188eu driver. This driver supports LM816 USB WiFi module. Related-to: ELB-2388 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-04-08staging: rtl8188eu: make able to build for < 3.14Oleksandr Suvorov
Fix the driver to be able to build with kernel versions < 3.14. Tested with 3.10.40. Related-to: ELB-2388 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-04-08compat: verification: fix building errorOleksandr Suvorov
There are IS_ERR and PTR_ERR macros excplicitly use in the file x509_public_key.c. If nobody includes <linux/err.h> before compiling this file, one have got the comillation error [1]. Include <linux/err.h> directly fixes this issue. [1] --------------------------------------- compat/verification/x509_public_key.c: In function ‘x509_get_sig_params’: compat/verification/x509_public_key.c:52:6: error: implicit declaration of function ‘IS_ERR’; did you mean ‘HW_ERR’? [-Werror=implicit-function-declaration] 52 | if (IS_ERR(tfm)) { | ^~~~~~ | HW_ERR compat/verification/x509_public_key.c:53:7: error: implicit declaration of function ‘PTR_ERR’ [-Werror=implicit-function-declaration] 53 | if (PTR_ERR(tfm) == -ENOENT) { | ^~~~~~~ cc1: some warnings being treated as errors make[6]: *** [scripts/Makefile.build:308: compat/verification/x509_public_key.o] Error 1 --------------------------------------- Related-to: ELB-2388 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-04-08lockdep: add lock_acquire_exclusiveOleksandr Suvorov
Define lock_acquire_exclusive() macro that doesn't exist in prior to version 3.14. Related-to: ELB-2388 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-03-26Backports v5.4.27Oleksandr Suvorov
Backports generated by toradex backports f6e8852f1ef28e6d3c9bae8400eb6a87a6b0c3e7 against mainline kernel tag v5.4.27 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>