diff options
| author | Dmitry Antipov <dmantipov@yandex.ru> | 2024-11-14 18:19:46 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-14 20:03:57 +0100 |
| commit | 4f995f5b1633b6e064160728e71e61973bb1046a (patch) | |
| tree | e3b4a19359a4e9955fd347ccbdc18e64f1b430c3 /scripts/checkstack.pl | |
| parent | f5cc301e98a6462cf6be7d8629c8452067e7b639 (diff) | |
| download | linux-4f995f5b1633b6e064160728e71e61973bb1046a.tar.gz linux-4f995f5b1633b6e064160728e71e61973bb1046a.tar.bz2 linux-4f995f5b1633b6e064160728e71e61973bb1046a.zip | |
rocker: fix link status detection in rocker_carrier_init()
[ Upstream commit e64285ff41bb7a934bd815bd38f31119be62ac37 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
