drivers: video: tegra: Add inline macro for FP

Adding a inline annotation macro to suppress the false positive defect.

Bug 4479044
JIRA TMM-6053

Change-Id: I898f3b2f69b010e73766a82dd5e0c33e2c748437
Signed-off-by: Surbhi Singh <surbhis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3338901
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Ketan Patil <ketanp@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
This commit is contained in:
Surbhi Singh
2025-04-11 12:49:19 +00:00
committed by Jon Hunter
parent b578f490b6
commit 9bf1a3723f

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* SPDX-FileCopyrightText: Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
* SPDX-FileCopyrightText: Copyright (c) 2019-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*
* mapping between nvmap_hnadle and sci_ipc entery
*/
@@ -367,6 +367,7 @@ unlock:
is_ro ? "RO" : "RW");
if (!IS_ERR_OR_NULL(ref))
/* coverity[FORWARD_NULL]; FP-BUG_4598544 */
atomic_dec(&ref->dupes);
}