summaryrefslogtreecommitdiff
path: root/fs/proc/task_mmu.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2019-07-17 02:26:45 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2019-07-17 05:23:21 +0300
commit9af27b28b1da1020e427b626c4967d0206b55100 (patch)
tree1eb44a1400da80592d117a93ab44f31b7d9259da /fs/proc/task_mmu.c
parentce251e0e3c0597ea8cab5787df579bd1f9c1aca1 (diff)
downloadlinux-9af27b28b1da1020e427b626c4967d0206b55100.tar.xz
fs/proc/inode.c: use typeof_member() macro
Don't repeat function signatures twice. This is a kind-of-precursor for "struct proc_ops". Note: typeof(pde->proc_fops->...) ...; can't be used because ->proc_fops is "const struct file_operations *". "const" prevents assignment down the code and it can't be deleted in the type system. Link: http://lkml.kernel.org/r/20190529191110.GB5703@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/task_mmu.c')
0 files changed, 0 insertions, 0 deletions