mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
390695e67ebf951ba35497f7cbc185aff17220fb
Rule INT30-C requires that unsigned integer operations do not wrap. Fix these violations by using the safe ops. Rule INT31-C requires that integer conversions do not result in lost or misinterpreted data. Rule INT33-C requires ensurance that division does not divide by 0. Fix violations of these types in ptimer. JIRA NVGPU-3868 Change-Id: Ib513da20eb14fa058630aa7a1f0aa5002373dd08 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2168575 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Description
No description provided