diff options
author | Len Baker <[email protected]> | 2021-09-25 16:34:55 +0200 |
---|---|---|
committer | Jonathan Corbet <[email protected]> | 2021-10-26 09:43:54 -0600 |
commit | 3577cdb23b8f76612017b82a8a1f89ac55f4d313 (patch) | |
tree | c47ce88f515504a9b1073fbf2b17ecf1ea843e8e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6e74e68d0b4cec4255d3af09cfa5426b8e20d549 (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 <[email protected]>
Signed-off-by: Len Baker <[email protected]>
Reviewed-by: Gustavo A. R. Silva <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions