aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorEric Sandeen <[email protected]>2015-06-01 07:15:38 +1000
committerDave Chinner <[email protected]>2015-06-01 07:15:38 +1000
commit39e56d9219dd46d696e6a5e1e24870392154dd0f (patch)
tree637932af031b0284582db040319d33db6e1f5abb /tools/perf/scripts/python/call-graph-from-postgresql.py
parent7f884dc198c641c95f5c4325f0d782b1efd298b4 (diff)
xfs: don't cast string literals
The commit: a9273ca5 xfs: convert attr to use unsigned names added these (unsigned char *) casts, but then the _SIZE macros return "7" - size of a pointer minus one - not the length of the string. This is harmless in the kernel, because the _SIZE macros are not used, but as we sync up with userspace, this will matter. I don't think the cast is necessary; i.e. assigning the string literal to an unsigned char *, or passing it to a function expecting an unsigned char *, should be ok, right? Signed-off-by: Eric Sandeen <[email protected]> Reviewed-by: Brian Foster <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions