rtw89 icon indicating copy to clipboard operation
rtw89 copied to clipboard

Shift out of bounds error in halbb_interace.c

Open kovadam69 opened this issue 2 years ago • 1 comments

Hi

During boot I get two errors:

shift-out-of-bounds in /.../rtw8852be/phl/hal_g6/phy/bb/halbb_interface.c:235:42
shift exponent 32 is too large for 32-bit type 'unsinged int' 

and

shift-out-of-bounds in /.../rtw8852be/phl/hal_g6/phy/bb/halbb_interface.c:184:44
shift exponent 32 is too large for 32-bit type 'unsinged int' 

kovadam69 avatar Sep 05 '22 07:09 kovadam69

I just pushed a fix that should quiet those. Please make sure that the driver still works.

lwfinger avatar Sep 05 '22 18:09 lwfinger

All the illegal shifts are fixed.

lwfinger avatar Sep 24 '22 21:09 lwfinger