mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
nvgpu: Fix CERT-C defects
Fix following CERT-C defects - CID 631480 - CID 494546 Bug 3745813 Change-Id: I33ad7d044cc18219a117811b960dae26cf744983 Signed-off-by: srajum <srajum@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2834699 Reviewed-by: Sagar Kamble <skamble@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Ankur Kishore <ankkishore@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
db637cd585
commit
6d7ace12dc
@@ -618,7 +618,7 @@ void gk20a_scale_exit(struct device *dev)
|
||||
struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g);
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0)
|
||||
struct devfreq *devfreq = l->devfreq;
|
||||
struct gk20a_scale_profile *profile;
|
||||
struct gk20a_scale_profile *profile = NULL;
|
||||
#endif
|
||||
int err;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user