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

Tom Rini trini at konsulko.com
Mon Sep 22 23:46:05 CEST 2025


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 also adds 16bit variants of these macros, which will be used by the
> Airoha PHY driver.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>

Reviewed-by: Tom Rini <trini at konsulko.com>

As a small thing for future synchronization, basing on just the initial
release (not point release) or current -rc tag makes it easier later on.
There's no changes between v6.16 and v6.17-rc6 here so there's not any
changes between v6.16 and v6.16.7 here either, so in the end it's fine
and I may or may not reword a tiny bit when applying. Thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250922/57904229/attachment.sig>


More information about the U-Boot mailing list