Displaying 2 results from an estimated 2 matches for "ttm_debugfs_entri".
Did you mean:
ttm_debugfs_entries
2018 May 24
3
[PATCH] gpu: Consistently use octal not symbolic permissions
...696..696a2617930f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
@@ -2160,11 +2160,10 @@ static int amdgpu_ttm_debugfs_init(struct amdgpu_device *adev)
struct dentry *ent, *root = minor->debugfs_root;
for (count = 0; count < ARRAY_SIZE(ttm_debugfs_entries); count++) {
- ent = debugfs_create_file(
- ttm_debugfs_entries[count].name,
- S_IFREG | S_IRUGO, root,
- adev,
- ttm_debugfs_entries[count].fops);
+ ent = debugfs_create_file(ttm_debugfs_entries[count].name,
+ S_IFREG | 0444, root,
+ adev,
+ ttm_debugfs_entries[co...
2018 May 25
0
[PATCH] gpu: Consistently use octal not symbolic permissions
...a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> @@ -2160,11 +2160,10 @@ static int amdgpu_ttm_debugfs_init(struct amdgpu_device *adev)
> struct dentry *ent, *root = minor->debugfs_root;
>
> for (count = 0; count < ARRAY_SIZE(ttm_debugfs_entries); count++) {
> - ent = debugfs_create_file(
> - ttm_debugfs_entries[count].name,
> - S_IFREG | S_IRUGO, root,
> - adev,
> - ttm_debugfs_entries[count].fops);
> + ent = debugfs_create_file(ttm_debugfs_entries[count].name,
> + S_IFREG | 0444, root,
> +...