diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/regops_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/regops_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/regops_gk20a.c b/drivers/gpu/nvgpu/gk20a/regops_gk20a.c index c4b357b1..9919fc3d 100644 --- a/drivers/gpu/nvgpu/gk20a/regops_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/regops_gk20a.c | |||
@@ -636,7 +636,7 @@ static int validate_reg_op_offset(struct dbg_session_gk20a *dbg_s, | |||
636 | 636 | ||
637 | /* support only 24-bit 4-byte aligned offsets */ | 637 | /* support only 24-bit 4-byte aligned offsets */ |
638 | if (offset & 0xFF000003) { | 638 | if (offset & 0xFF000003) { |
639 | nvgpu_err(dbg_s->g, "invalid regop offset: 0x%x\n", offset); | 639 | nvgpu_err(dbg_s->g, "invalid regop offset: 0x%x", offset); |
640 | op->status |= REGOP(STATUS_INVALID_OFFSET); | 640 | op->status |= REGOP(STATUS_INVALID_OFFSET); |
641 | return -EINVAL; | 641 | return -EINVAL; |
642 | } | 642 | } |
@@ -674,7 +674,7 @@ static int validate_reg_op_offset(struct dbg_session_gk20a *dbg_s, | |||
674 | } | 674 | } |
675 | 675 | ||
676 | if (!valid) { | 676 | if (!valid) { |
677 | nvgpu_err(dbg_s->g, "invalid regop offset: 0x%x\n", offset); | 677 | nvgpu_err(dbg_s->g, "invalid regop offset: 0x%x", offset); |
678 | op->status |= REGOP(STATUS_INVALID_OFFSET); | 678 | op->status |= REGOP(STATUS_INVALID_OFFSET); |
679 | return -EINVAL; | 679 | return -EINVAL; |
680 | } | 680 | } |