diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2024-11-14 18:19:46 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-19 05:39:21 +0300 |
commit | e64285ff41bb7a934bd815bd38f31119be62ac37 (patch) | |
tree | b9e1472f1064849661797e87a41648de94fc8560 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a0c80d5108ab36cf6cc974a24ce9c522f271d754 (diff) | |
download | linux-e64285ff41bb7a934bd815bd38f31119be62ac37.tar.xz |
rocker: fix link status detection in rocker_carrier_init()
Since '1 << rocker_port->pport' may be undefined for port >= 32,
cast the left operand to 'unsigned long long' like it's done in
'rocker_port_set_enable()' above. Compile tested only.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Link: https://patch.msgid.link/20241114151946.519047-1-dmantipov@yandex.ru
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions