3
0
Fork 0
forked from mirrors/linux
kernel/drivers/net/ethernet/rocker
Dmitry Antipov e64285ff41 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>
2024-11-18 18:39:21 -08:00
..
Kconfig
Makefile
rocker.h
rocker_hw.h
rocker_main.c rocker: fix link status detection in rocker_carrier_init() 2024-11-18 18:39:21 -08:00
rocker_ofdpa.c
rocker_tlv.c
rocker_tlv.h