aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorKalesh Singh <[email protected]>2021-10-29 18:33:28 +0000
committerSteven Rostedt (VMware) <[email protected]>2021-11-02 00:46:29 +0000
commit0ca6d12c9768ee15e6c7d65ddb5cb35c05946e1e (patch)
treefabdf5a8687aa930965db05fd35e4ce4c259fb14 /lib/string_helpers.c
parenttracing/histogram: Optimize division by constants (diff)
downloadkernel-0ca6d12c9768ee15e6c7d65ddb5cb35c05946e1e.tar.gz
kernel-0ca6d12c9768ee15e6c7d65ddb5cb35c05946e1e.zip
tracing/histogram: Update division by 0 documentation
If the divisor is a constant and zero, the undeifned case can be detected and an error returned instead of -1. Link: https://lkml.kernel.org/r/[email protected] Cc: Jonathan Corbet <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Shuah Khan <[email protected]> Cc: Tom Zanussi <[email protected]> Signed-off-by: Kalesh Singh <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions