mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user