commit | 92a42d8f909114d166d400f93cc1e117569748b2 | [log] [tgz] |
---|---|---|
author | Stefan Petersen <spe@ciellt.se> | Wed May 03 15:21:52 2023 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Fri May 05 11:26:29 2023 +0200 |
tree | bc09bedf189ad47b32432e7837bc930b652f5c6d | |
parent | 091f425cd1592aa613eb0620254c3bd226a3c8af [diff] |
drivers: ethernet: eth_stm32_hal: Fix cppcheck warning When running cppcheck on eth_stm32_hal.c it generated a warning for shiftTooManyBitsSigned. The solution is to make sure that the numeric value shifted is unsigned. Updated to use BIT() macro as suggested by GeorgeGCV. Fixes: #57336 Signed-off-by: Stefan Petersen <spe@ciellt.se>