cryptodev-module: Backport a patch to fix build failure with kernel v5.19
PATCH RESEND 1/1 cryptodev-module: Backport a patch to fix build failure with kernel v5.19
For some reason this did not make it into Patchwork. I am re-sending this to the list to try and fix that.
cryptodev-linux/authenc.c: In function ‘pad_record’:cryptodev-linux/authenc.c:317:2: warning: ISO C90 forbids variable length array ‘pad’ [-Wvla]
317 | uint8_t pad[block_size];
| ^~~~~~~ LD [M] /home/nmenon/Src/opensource/cryptodev-linux/cryptodev.o
Newer kernels enforce build warnings as error now, so.. lets backport an upstream fix for the same.
Reported-by Drew Fustini <[email protected]>
Tested-by Drew Fustini <[email protected]>
Signed-off-by Nishanth Menon <[email protected]>
Signed-off-by Drew Fustini <[email protected]>
--- .../cryptodev/cryptodev-module_%.bbappend | 5 +- ...0001-remove-VLA-usage-from-authenc.c.patch | 60 +++++++++++++++++++ 2 files changed, 64 insertions(+), 1 deletion(-) create mode 100644
meta-arago-distro/recipes-kernel/cryptodev/files/0001-remove-VLA-usage-from-authenc.c.patch
meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_%.bbappend +4 -0
@@ -2,6 +2,9 @@ PR_append = ".arago1" FILESEXTRAPATHS_prepend := "${THISDIR}/files:" -SRC_URI += "file://0001-Fix-build-for-Linux-5.11-rc1.patch" +SRC_URI += " \ +file://0001-Fix-build-for-Linux-5.11-rc1.patch \ +file://0001-remove-VLA-usage-from-authenc.c.patch \ +" KERNEL_MODULE_AUTOLOAD += "cryptodev"
meta-arago-distro/recipes-kernel/cryptodev/files/0001-remove-VLA-usage-from-authenc.c.patch new file +54 -0
54 lines not on this page · raw message
Signature · 11 lines
2.32.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13948): https://lists.yoctoproject.org/g/meta-arago/message/13948 Mute This Topic: https://lists.yoctoproject.org/mt/92338591/6551054 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-