diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/ioctl_dbg.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c b/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c index ad4dfc0e..b2c7a362 100644 --- a/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c +++ b/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c | |||
@@ -938,6 +938,10 @@ static int nvgpu_ioctl_channel_reg_ops(struct dbg_session_gk20a *dbg_s, | |||
938 | err = g->ops.dbg_session_ops.exec_reg_ops( | 938 | err = g->ops.dbg_session_ops.exec_reg_ops( |
939 | dbg_s, g->dbg_regops_tmp_buf, num_ops); | 939 | dbg_s, g->dbg_regops_tmp_buf, num_ops); |
940 | 940 | ||
941 | if (err) { | ||
942 | break; | ||
943 | } | ||
944 | |||
941 | err = nvgpu_get_regops_data_linux(g->dbg_regops_tmp_buf, | 945 | err = nvgpu_get_regops_data_linux(g->dbg_regops_tmp_buf, |
942 | linux_fragment, num_ops); | 946 | linux_fragment, num_ops); |
943 | 947 | ||