aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/dma-mapping.h
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2018-12-21 18:40:46 -0500
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-12-22 22:52:09 -0500
commit036876fa56204ae0fa59045bd6bbb2691a060633 (patch)
treefd0b860445d7aff7d0ed6a601a78b7ec2e6699c1 /arch/sparc/include/asm/dma-mapping.h
parenttracing: Use str_has_prefix() instead of using fixed sizes (diff)
downloadlinux-dev-036876fa56204ae0fa59045bd6bbb2691a060633.tar.xz
linux-dev-036876fa56204ae0fa59045bd6bbb2691a060633.zip
tracing: Have the historgram use the result of str_has_prefix() for len of prefix
As str_has_prefix() returns the length on match, we can use that for the updating of the string pointer instead of recalculating the prefix size. Cc: Tom Zanussi <zanussi@kernel.org> Acked-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'arch/sparc/include/asm/dma-mapping.h')
0 files changed, 0 insertions, 0 deletions