aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2019-04-21 18:45:28 -0400
committerArnd Bergmann <[email protected]>2019-10-23 17:15:57 +0200
commit34d3d0e65e3a84bc76e75431528e41f9f94bd6cf (patch)
treeb425040169ee54dc5f8eaf0d2d338c7a079ac2bd /tools/perf/scripts/python
parentbf0a199b065c63ee21c1729d208e408404315f26 (diff)
do_vfs_ioctl(): use saner types
casting to pointer to int, only to pass that to function that takes pointer to void and uses it as pointer to structure is really asking for trouble. "Some pointer, I'm not sure what to" is spelled "void *", not "int *"; use that. And declare the functions we are passing that pointer to as taking the pointer to what they really want to access. Signed-off-by: Al Viro <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions