]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: swap alloca usage for a few assert_cc
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 12 Feb 2024 17:23:10 +0000 (17:23 +0000)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 30 Apr 2024 17:33:52 +0000 (12:33 -0500)
commit737744301a992ed55801acb725995746bdad62a1
treeb51af9acd48621d59b7ab5cac2652e7c91a2e2e4
parent0c127388070b8d696bb52c783985d4d10f74a5bc
libkmod: swap alloca usage for a few assert_cc

Since all the compression magic is always available now, we don't need
to loop at runtime nor use alloca - latter of which comes with a handful
of caveats.

Simply throw in a few assert_cc(), which will trigger at build-time.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-file.c