aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2019-07-16 16:26:45 -0700
committerLinus Torvalds <[email protected]>2019-07-16 19:23:21 -0700
commit9af27b28b1da1020e427b626c4967d0206b55100 (patch)
tree1eb44a1400da80592d117a93ab44f31b7d9259da /tools/perf/scripts/python/mem-phys-addr.py
parentce251e0e3c0597ea8cab5787df579bd1f9c1aca1 (diff)
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions