This will un-embed the net_device struct from inside other struct, so we can add flexible array into net_device. This also enable COMPILE test for FSL_CAAM, as any config option that depends on ARCH_LAYERSCAPE. Changelog: v3: * Fix free_netdev() deference per-cpu (Simon) * Hide imx8m_machine_match under CONFIG_OF (Jakub) v2: * added a cover letter (Jakub) * dropped the patch that makes FSL_DPAA dependent of COMPILE_TEST, since it exposes other problems. v1: * https://lore.kernel.org/all/20240624162128.1665620-1-leitao@xxxxxxxxxx/ Breno Leitao (4): crypto: caam: Avoid unused variable crypto: caam: Make CRYPTO_DEV_FSL_CAAM dependent of COMPILE_TEST crypto: caam: Unembed net_dev structure from qi crypto: caam: Unembed net_dev structure in dpaa2 drivers/crypto/caam/Kconfig | 2 +- drivers/crypto/caam/caamalg_qi2.c | 28 +++++++++++++++++--- drivers/crypto/caam/caamalg_qi2.h | 2 +- drivers/crypto/caam/ctrl.c | 2 ++ drivers/crypto/caam/qi.c | 43 +++++++++++++++++++++++++------ 5 files changed, 64 insertions(+), 13 deletions(-) -- 2.43.0