UPSTREAM: 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/20211029183339.3216491-3-kaleshsingh@google.com Cc: Jonathan Corbet <corbet@lwn.net> Cc: Ingo Molnar <mingo@redhat.com> Cc: Shuah Khan <shuah@kernel.org> Cc: Tom Zanussi <zanussi@kernel.org> Signed-off-by:Kalesh Singh <kaleshsingh@google.com> Signed-off-by:
Steven Rostedt (VMware) <rostedt@goodmis.org> (cherry picked from commit 0ca6d12c) Bug: 146055070 Bug: 145972256 Signed-off-by:
Kalesh Singh <kaleshsingh@google.com> Change-Id: I5bf188056aa42bee69f0e4439a23b004295322db
Loading
Please sign in to comment