Files
linux-nvgpu/drivers/gpu/nvgpu/os/linux
Ashish Mhetre d50889585e gpu: nvgpu: os: linux: Zero out dma_buf_map struct
UBSAN is reporting "invalid-load include/linux/dma-buf-map.h".
This is because non-boolean value loaded to bool variable is_iomem
of dma_buf_map struct. Zeroing out this struct at declaration time
make sure that there is no garbage value which will be non-boolean.

Bug 3994163

Change-Id: Ib18448e8fc09cbcb25c3eeb3e5deec805f6ed008
Signed-off-by: Ashish Mhetre <amhetre@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2869262
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-03-11 19:21:31 -08:00
..
2023-01-17 16:16:50 -08:00
2020-12-15 14:13:28 -06:00
2019-02-01 09:45:57 -08:00
2022-06-03 12:05:26 -07:00
2021-08-11 01:55:08 -07:00
2022-04-07 12:35:22 -07:00
2022-12-09 15:19:07 -08:00
2022-06-06 05:55:26 -07:00
2023-02-18 02:29:35 -08:00
2023-01-20 03:35:49 -08:00
2022-09-27 23:25:55 -07:00
2023-02-21 03:36:00 -08:00