Files
linux-nvgpu/drivers/gpu/nvgpu/os/linux
Vedashree Vidwans a615604411 gpu: nvgpu: fix MISRA 11.2 nvgpu_sgl
MISRA rule 11.2 doesn't allow conversions of a pointer from or to an
incomplete type. These type of conversions may result in a pointer
aligned incorrectly and may further result in undefined behavior.

This patch addresses rule 11.2 violations related to pointers to and
from struct nvgpu_sgl. This patch replaces struct nvgpu_sgl pointers by
void pointers.

Jira NVGPU-3736

Change-Id: I8fd5766eacace596f2761b308bce79f22f2cb207
Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2267876
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2020-12-15 14:10:29 -06:00
..
2020-12-15 14:10:29 -06:00
2018-06-27 07:30:06 -07:00
2020-12-15 14:10:29 -06:00
2019-04-22 03:15:09 -07:00
2019-02-01 09:45:57 -08:00
2018-07-05 21:48:44 -07:00
2018-12-13 04:56:14 -08:00
2019-08-27 10:37:21 -07:00
2019-04-10 06:03:59 -07:00
2020-12-15 14:10:29 -06:00
2020-12-15 14:05:52 -06:00
2019-08-28 14:24:19 -07:00