summaryrefslogtreecommitdiffstats
path: root/lib/interval_tree_test.c
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-11-23 00:56:39 +0100
committerTobin C. Harding <me@tobin.cc>2017-11-29 02:03:24 +0100
commit57e734423adda83f3b05505875343284efe3b39c (patch)
tree276ad0646a793ce615f57fe7ea88df2534708712 /lib/interval_tree_test.c
parentdocs: correct documentation for %pK (diff)
downloadlinux-57e734423adda83f3b05505875343284efe3b39c.tar.xz
linux-57e734423adda83f3b05505875343284efe3b39c.zip
vsprintf: refactor %pK code out of pointer()
Currently code to handle %pK is all within the switch statement in pointer(). This is the wrong level of abstraction. Each of the other switch clauses call a helper function, pK should do the same. Refactor code out of pointer() to new function restricted_pointer(). Signed-off-by: Tobin C. Harding <me@tobin.cc>
Diffstat (limited to 'lib/interval_tree_test.c')
0 files changed, 0 insertions, 0 deletions