summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/os/linux/debug_fecs_trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/debug_fecs_trace.c')
-rw-r--r--drivers/gpu/nvgpu/os/linux/debug_fecs_trace.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/debug_fecs_trace.c b/drivers/gpu/nvgpu/os/linux/debug_fecs_trace.c
index 9e72d2ce..7786053f 100644
--- a/drivers/gpu/nvgpu/os/linux/debug_fecs_trace.c
+++ b/drivers/gpu/nvgpu/os/linux/debug_fecs_trace.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -99,9 +99,6 @@ static int gk20a_ctxsw_debugfs_ring_open(struct inode *inode,
99{ 99{
100 struct gk20a **p; 100 struct gk20a **p;
101 101
102 if (!capable(CAP_SYS_ADMIN))
103 return -EPERM;
104
105 p = __seq_open_private(file, &gk20a_fecs_trace_debugfs_ring_seq_ops, 102 p = __seq_open_private(file, &gk20a_fecs_trace_debugfs_ring_seq_ops,
106 sizeof(struct gk20a *)); 103 sizeof(struct gk20a *));
107 if (!p) 104 if (!p)