mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-23 18:01:07 +03:00
tegra: hwpm: fix sparse semantic violations
Fix following violations reported by sparse tool - warning: symbol 'tegra_hwpm_debugfs_*' was not declared. Should it be static? Add missing header in tegra_hwpm_debugfs.c file to fix this issue - warning: no newline at end of file Add new end line in tegra_hwpm_alist_utils.c to fix this issue. - warning: symbol 't234_chip_info' was not declared. Should it be static? Modify t234_chip_info structure to be static to fix this issue. - warning: symbol '*_perfmon_element_static_array' was not declared. Should it be static? - warning: symbol '*_perfmux_element_static_array' was not declared. Should it be static? - warning: symbol '*_inst_static_array' was not declared. Should it be static? Modify each *_perfmon_element_static_array, *_perfmux_element_static_array and *_inst_static_array in all IPs to be static to fix this issue. Bug 3528414 Change-Id: I58e7a1c6e14988d7315fb8d160aa7f89a2eb4cf5 Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2725821 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
d1de75a664
commit
46e2ea58f1
@@ -159,4 +159,4 @@ alist_unmap:
|
||||
}
|
||||
|
||||
return err;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user