diff options
author | Richard Zhao <rizhao@nvidia.com> | 2018-03-29 19:52:16 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-04-10 04:11:44 -0400 |
commit | 31432919cac8fc4ddad3b9245cf61ffd47d5db82 (patch) | |
tree | 4121f32495f8ccd92be8a38071e33d8918e1fa88 /drivers/gpu/nvgpu/common/mm/vidmem.c | |
parent | 546e77812150fbcab601b529b053758f58d02bc1 (diff) |
gpu: nvgpu: vgpu: fix build errors on qnx
- Declare global functions before reaching the implementation.
- avoid using current (current process).
- assign ch->pid/tgid before using them.
Jira VFND-4870
Change-Id: I688a1b89ef4d5dcf046929eab11d7e523caba0a5
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1687142
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nirav Patel <nipatel@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/mm/vidmem.c')
0 files changed, 0 insertions, 0 deletions