memory: tegra: Fix compilation warnings on 64bit platforms
authorDmitry Osipenko <digetx@gmail.com>
Tue, 1 Jun 2021 02:31:12 +0000 (05:31 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jul 2021 12:36:14 +0000 (14:36 +0200)
commit41e2bcca23f1833402d1ec570519aa3486ea30fe
treee5c150cdf4ab40d47b5281c4753a11337e16a4ea
parent7ad965c8a723f68d44894cc00cfe7cb90ee2830d
memory: tegra: Fix compilation warnings on 64bit platforms

[ Upstream commit e0740fb869730110b36a4afcf05ad1b9d6f5fb6d ]

Fix compilation warning on 64bit platforms caused by implicit promotion
of 32bit signed integer to a 64bit unsigned value which happens after
enabling compile-testing of the EMC drivers.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/memory/tegra/tegra124-emc.c
drivers/memory/tegra/tegra30-emc.c