summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorLen Baker <len.baker@gmx.com>2021-09-25 16:34:55 +0200
committerJonathan Corbet <corbet@lwn.net>2021-10-26 09:43:54 -0600
commit3577cdb23b8f76612017b82a8a1f89ac55f4d313 (patch)
treec47ce88f515504a9b1073fbf2b17ecf1ea843e8e /tools/perf/scripts/python/exported-sql-viewer.py
parent6e74e68d0b4cec4255d3af09cfa5426b8e20d549 (diff)
docs: deprecated.rst: Clarify open-coded arithmetic with literals
Although using literals for size calculation in allocator arguments may be harmless due to compiler warnings in case of overflows, it is better to refactor the code to avoid the use of open-coded arithmetic. So, clarify the preferred way in these cases. Suggested-by: Kees Cook <keescook@chromium.org> Signed-off-by: Len Baker <len.baker@gmx.com> Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org> Link: https://lore.kernel.org/r/20210925143455.21221-1-len.baker@gmx.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions