diff options
| author | Puneet Saxena <puneets@nvidia.com> | 2016-09-15 02:11:30 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-09-19 11:14:51 -0400 |
| commit | 053cc09663cfa703d612ce20fba5aeac4cbddb7d (patch) | |
| tree | 0a493b712d30ea84ac1a95649fd149bb47f209d8 | |
| parent | 1666f1964a3fc345f6daa96fb9ea112dc256b98b (diff) | |
t18x: cpufreq: fix sparse warning
It initializes a pointer as NULL pointer instead of integer.
Bug 200088648
Change-Id: Iea21314cb125c79cfbc410acdec247d350fd7573
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: http://git-master/r/1221223
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
| -rw-r--r-- | drivers/cpufreq/tegra_cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/tegra_cpufreq.c b/drivers/cpufreq/tegra_cpufreq.c index 48c5b409b..2c38ff115 100644 --- a/drivers/cpufreq/tegra_cpufreq.c +++ b/drivers/cpufreq/tegra_cpufreq.c | |||
| @@ -1241,7 +1241,7 @@ static int __init get_lut_from_bpmp(void) | |||
| 1241 | __func__, cl, ret); | 1241 | __func__, cl, ret); |
| 1242 | tegra_bpmp_free_coherent(size, vhtbl->lut, | 1242 | tegra_bpmp_free_coherent(size, vhtbl->lut, |
| 1243 | vhtbl->phys); | 1243 | vhtbl->phys); |
| 1244 | vhtbl->lut = 0; | 1244 | vhtbl->lut = NULL; |
| 1245 | vhtbl->phys = 0; | 1245 | vhtbl->phys = 0; |
| 1246 | } else | 1246 | } else |
| 1247 | ok = true; | 1247 | ok = true; |
