crypto: nvvse: Fix compilation warning

Building the nvvse-cryptodev driver generates the following warning ...

 drivers/crypto/tegra-nvvse-cryptodev.c:2118:1: error: the frame size of
  2224 bytes is larger than 2048 bytes [-Werror=fra
me-larger-than=]
 2118 | }
      | ^

For now allow the frame size to be 2560 bytes to resolve the warning
while a proper fix is implemented.

Bug 4190030

Change-Id: Id361aebc9f3d83181afc820d8d9cf2ef90e33d55
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2934696
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Manish Bhardwaj <mbhardwaj@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Jon Hunter
2023-07-11 13:41:47 +01:00
committed by mobile promotions
parent e1ea98691b
commit 88af3f4d9f

View File

@@ -6,6 +6,10 @@ ccflags-y += -Wno-implicit-fallthrough
ifdef CONFIG_TEGRA_HOST1X ifdef CONFIG_TEGRA_HOST1X
obj-m += tegra-se-nvhost.o obj-m += tegra-se-nvhost.o
obj-m += tegra-hv-vse-safety.o obj-m += tegra-hv-vse-safety.o
obj-m += tegra-nvvse-cryptodev.o
endif endif
obj-m += tegra-se-nvrng.o obj-m += tegra-se-nvrng.o
ifdef CONFIG_TEGRA_HOST1X
ccflags-y += -Werror=frame-larger-than=2560
obj-m += tegra-nvvse-cryptodev.o
endif