aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorRadu Pirea (OSS) <[email protected]>2023-04-06 12:59:53 +0300
committerJakub Kicinski <[email protected]>2023-04-07 19:48:34 -0700
commitbdaaecc127d471c422ee9e994978617c8aa79e1e (patch)
treeb0a3e0aa7815e37aa6ed7ba6eee512c7a70cd0fe /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent066b86787fa3d97b7aefb5ac0a99a22dad2d15f8 (diff)
net: phy: nxp-c45-tja11xx: fix unsigned long multiplication overflow
Any multiplication between GENMASK(31, 0) and a number bigger than 1 will be truncated because of the overflow, if the size of unsigned long is 32 bits. Replaced GENMASK with GENMASK_ULL to make sure that multiplication will be between 64 bits values. Cc: <[email protected]> # 5.15+ Fixes: 514def5dd339 ("phy: nxp-c45-tja11xx: add timestamping support") Signed-off-by: Radu Pirea (OSS) <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions