From 3fde68937aeaac86ff7a1f4d42d3e811416f3368 Mon Sep 17 00:00:00 2001 From: Amit Sharma Date: Mon, 21 May 2018 10:38:59 +0530 Subject: [PATCH] video: tegra: host: nvdla: Fix Sparse warning Declare nvdla_send_emu_postfences() as static to fix below sparse warning: - nvdla_ioctl.c:391:5: warning: symbol 'nvdla_send_emu_postfences' was not declared. Should it be static? Bug 200408168 Change-Id: I59a14e8e85902f233678c9f7c7c351d81c9c20b8 Signed-off-by: Amit Sharma Reviewed-on: https://git-master.nvidia.com/r/1725699 Reviewed-by: Bharat Nihalani Reviewed-by: svc-mobile-coverity GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/video/tegra/host/nvdla/nvdla_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/tegra/host/nvdla/nvdla_ioctl.c b/drivers/video/tegra/host/nvdla/nvdla_ioctl.c index 7bcaf1cb..96dfed84 100644 --- a/drivers/video/tegra/host/nvdla/nvdla_ioctl.c +++ b/drivers/video/tegra/host/nvdla/nvdla_ioctl.c @@ -388,7 +388,7 @@ fail: return err; } -int nvdla_send_emu_postfences(struct nvdla_emu_task *task, +static int nvdla_send_emu_postfences(struct nvdla_emu_task *task, struct nvdla_ioctl_emu_submit_task *user_task) { int err = 0, i;