Files
twx-linux/drivers/net/ethernet
Dmitry Antipov cf0d36cf00 rocker: fix link status detection in rocker_carrier_init()
[ Upstream commit e64285ff41 ]

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>
2024-12-14 19:44:53 +01:00
..
2024-02-23 08:25:04 +01:00
2024-11-08 16:20:45 +01:00