summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/sched_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/sched_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/sched_gk20a.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/sched_gk20a.c b/drivers/gpu/nvgpu/gk20a/sched_gk20a.c
index 3d7e8bd7..a60be7ef 100644
--- a/drivers/gpu/nvgpu/gk20a/sched_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/sched_gk20a.c
@@ -140,7 +140,7 @@ static int gk20a_sched_dev_ioctl_get_tsgs_by_pid(struct gk20a_sched_ctrl *sched,
140 struct fifo_gk20a *f = &sched->g->fifo; 140 struct fifo_gk20a *f = &sched->g->fifo;
141 struct tsg_gk20a *tsg; 141 struct tsg_gk20a *tsg;
142 u64 *bitmap; 142 u64 *bitmap;
143 int tsgid; 143 unsigned int tsgid;
144 /* pid at user level corresponds to kernel tgid */ 144 /* pid at user level corresponds to kernel tgid */
145 pid_t tgid = (pid_t)arg->pid; 145 pid_t tgid = (pid_t)arg->pid;
146 int err = 0; 146 int err = 0;
@@ -492,7 +492,7 @@ int gk20a_sched_dev_release(struct inode *inode, struct file *filp)
492 struct gk20a *g = sched->g; 492 struct gk20a *g = sched->g;
493 struct fifo_gk20a *f = &g->fifo; 493 struct fifo_gk20a *f = &g->fifo;
494 struct tsg_gk20a *tsg; 494 struct tsg_gk20a *tsg;
495 int tsgid; 495 unsigned int tsgid;
496 496
497 gk20a_dbg(gpu_dbg_fn | gpu_dbg_sched, "sched: %p", sched); 497 gk20a_dbg(gpu_dbg_fn | gpu_dbg_sched, "sched: %p", sched);
498 498