mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 10:42:21 +03:00
Rectify overflow check for nvmap_total_page_allocs. Also, move the value update of nvmap_total_page_allocs outside the else block to update it for when contiguous is both true and false. Bug 4479044 Change-Id: I9e06b7903c44f05a55d7d9aef98a04c920e102ae Signed-off-by: N V S Abhishek <nabhishek@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3291713 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Ketan Patil <ketanp@nvidia.com>