diff options
| author | David Howells <[email protected]> | 2018-06-13 18:43:19 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2018-06-15 04:48:57 +0000 |
| commit | 24074a35c5c975c94cd9691ae962855333aac47f (patch) | |
| tree | 1b59ef017c85f158edf696564fe441fa2356ca3e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | Merge tag 'afs-fixes-20180514' into afs-proc (diff) | |
| download | kernel-24074a35c5c975c94cd9691ae962855333aac47f.tar.gz kernel-24074a35c5c975c94cd9691ae962855333aac47f.zip | |
proc: Make inline name size calculation automatic
Make calculation of the size of the inline name in struct proc_dir_entry
automatic, rather than having to manually encode the numbers and failing to
allow for lockdep.
Require a minimum inline name size of 33+1 to allow for names that look
like two hex numbers with a dash between.
Reported-by: Al Viro <[email protected]>
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
