Re: [PATCH] linux/kernel.h: Update upper_NN_bits() and lower_NN_bits() macros

2025-09-22 Thread Tom Rini
On Mon, Sep 22, 2025 at 02:29:22PM +0200, Marek Vasut wrote: > Synchronize upper_NN_bits() and lower_NN_bits() macros with Linux 6.16.7 > commit 118d777c4cb4 ("wordpart.h: Add REPEAT_BYTE_U32()"). This fixes the > lower_32_bits() macros and assures it works with 64bit systems correctly. > This als

[PATCH] linux/kernel.h: Update upper_NN_bits() and lower_NN_bits() macros

2025-09-22 Thread Marek Vasut
Synchronize upper_NN_bits() and lower_NN_bits() macros with Linux 6.16.7 commit 118d777c4cb4 ("wordpart.h: Add REPEAT_BYTE_U32()"). This fixes the lower_32_bits() macros and assures it works with 64bit systems correctly. This also adds 16bit variants of these macros, which will be used by the Airoh