From fc93f2390c6bc3663c3b1d196db813c0a2d782c4 Mon Sep 17 00:00:00 2001 From: Jian-Min Liu Date: Tue, 18 Jul 2023 03:10:07 +0000 Subject: [PATCH] Separate -Werror=frame-larger-than as clang can't recognize Use '-Werror' and '-Wframe-larger-than' to replace '-Werror=frame-larger-than' since clang compiler can't ecognize the combination. Build failure: error: unknown warning option '-Werror=frame-larger-than=2560'; did you mean '-Werror=frame-larger-than='? [-Werror,-Wunknown-warning-option] Bug 4187941 Change-Id: I4d05a8dc96820517e1047b982a24ed97bb21327f Signed-off-by: Jian-Min Liu Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2938229 Tested-by: mobile promotions Reviewed-by: mobile promotions --- drivers/crypto/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile index 7fb1dbbe..e0fef057 100644 --- a/drivers/crypto/Makefile +++ b/drivers/crypto/Makefile @@ -8,6 +8,6 @@ endif obj-m += tegra-se-nvrng.o ifdef CONFIG_TEGRA_HOST1X -ccflags-y += -Werror=frame-larger-than=2560 +ccflags-y += -Wframe-larger-than=2560 obj-m += tegra-nvvse-cryptodev.o endif