From c4ede4ec864ae3b39c33f5ef8394d6a8ca0ce9ff Mon Sep 17 00:00:00 2001 From: Manish Bhardwaj Date: Fri, 24 Feb 2023 14:55:09 +0530 Subject: [PATCH] nvidia-oot: fix sparse error in vse driver. Using this patch we are fixing below sparse errors :- 1. drivers/crypto/tegra-hv-vse-safety.c:158:15: warning: symbol 'gpcdma_dev' was not declared. Should it be static? Bug 3954363 Signed-off-by: Manish Bhardwaj Change-Id: I00da50a74392fc43e6728cf57abed2545c509e4e Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2863098 Tested-by: mobile promotions Reviewed-by: mobile promotions --- drivers/crypto/tegra-hv-vse-safety.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/tegra-hv-vse-safety.c b/drivers/crypto/tegra-hv-vse-safety.c index de5abd8d..d991502a 100644 --- a/drivers/crypto/tegra-hv-vse-safety.c +++ b/drivers/crypto/tegra-hv-vse-safety.c @@ -170,7 +170,7 @@ static struct crypto_dev_to_ivc_map g_crypto_to_ivc_map[MAX_NUMBER_MISC_DEVICES]; static bool gcm_supports_dma; -struct device *gpcdma_dev; +static struct device *gpcdma_dev; /* Security Engine Linked List */ struct tegra_virtual_se_ll {