diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_dbg.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_dbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_dbg.c b/drivers/gpu/nvgpu/common/linux/ioctl_dbg.c index c8d7468e..304fd71f 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_dbg.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_dbg.c | |||
@@ -607,7 +607,7 @@ static int nvgpu_ioctl_channel_reg_ops(struct dbg_session_gk20a *dbg_s, | |||
607 | 607 | ||
608 | gk20a_dbg_fn("%d ops, max fragment %d", args->num_ops, g->dbg_regops_tmp_buf_ops); | 608 | gk20a_dbg_fn("%d ops, max fragment %d", args->num_ops, g->dbg_regops_tmp_buf_ops); |
609 | 609 | ||
610 | if (args->num_ops > g->gpu_characteristics.reg_ops_limit) { | 610 | if (args->num_ops > NVGPU_IOCTL_DBG_REG_OPS_LIMIT) { |
611 | nvgpu_err(g, "regops limit exceeded"); | 611 | nvgpu_err(g, "regops limit exceeded"); |
612 | return -EINVAL; | 612 | return -EINVAL; |
613 | } | 613 | } |