diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2018-06-14 08:57:03 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-06-18 11:58:40 -0400 |
commit | 2573841d89d54301ef4958cde40ed669bb0f9758 (patch) | |
tree | d77ae9cee3b550b9d1fc38ea046bcc6cfa5f793b /drivers/gpu/nvgpu/pmgr/pmgrpmu.c | |
parent | 2a2c16af5f9f1ccfc93a13e820d5381e5c881e92 (diff) |
gpu: nvgpu: cast cpu_va in priv cmdbuf trace
Avoid arithmetic on a void pointer by casting the priv cmdbuf pointer to
u32 first, then adding offset.
Jira NVGPU-705
Change-Id: I6734a002bc376f6ff72e5b73b720921bfd63951f
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1749899
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr/pmgrpmu.c')
0 files changed, 0 insertions, 0 deletions