diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.c b/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.c index aadbf7af..d435bf79 100644 --- a/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.c | |||
@@ -253,7 +253,7 @@ static int gk20a_ctxsw_dev_ioctl_poll(struct gk20a_ctxsw_dev *dev) | |||
253 | if (err) | 253 | if (err) |
254 | return err; | 254 | return err; |
255 | 255 | ||
256 | if (g->ops.fecs_trace.flush(g)) | 256 | if (g->ops.fecs_trace.flush) |
257 | err = g->ops.fecs_trace.flush(g); | 257 | err = g->ops.fecs_trace.flush(g); |
258 | 258 | ||
259 | if (likely(!err)) | 259 | if (likely(!err)) |