mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
nvidia-oot: fix sparse error in hv vcpu yield driver
Using this patch we are fixing below sparse errors :- 1. drivers/virt/tegra/tegra_hv_vcpu_yield.c:218:30: warning: symbol 'fops' was not declared. Should it be static? Bug 3954363 Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Change-Id: I7ac696b0f4c7eef684bebdf7543022d666edb3d0 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2863104 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
9eb468d2b6
commit
ef7772605e
@@ -215,7 +215,7 @@ out:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
const struct file_operations fops = {
|
static const struct file_operations fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.open = tegra_hv_vcpu_yield_open,
|
.open = tegra_hv_vcpu_yield_open,
|
||||||
.release = tegra_hv_vcpu_yield_release,
|
.release = tegra_hv_vcpu_yield_release,
|
||||||
|
|||||||
Reference in New Issue
Block a user