Re: linux-next: Tree for Jul 21 (fs/erofs/*.c)

From: Gao Xiang
Date: Mon Jul 21 2025 - 20:44:26 EST


Hi Randy,

On 2025/7/22 05:31, Randy Dunlap wrote:


On 7/21/25 12:41 AM, Stephen Rothwell wrote:
Hi all,

Changes since 20250718:


on i386 (i.e., 32-bit):

In file included from ../include/linux/bits.h:5,
from ../include/linux/string_helpers.h:5,
from ../include/linux/seq_file.h:7,
from ../fs/erofs/super.c:8:
../fs/erofs/internal.h: In function 'erofs_inode_in_metabox':
../include/vdso/bits.h:7:40: warning: left shift count >= width of type [-Wshift-count-overflow]
7 | #define BIT(nr) (UL(1) << (nr))
| ^~
../fs/erofs/internal.h:305:38: note: in expansion of macro 'BIT'
305 | return EROFS_I(inode)->nid & BIT(EROFS_DIRENT_NID_METABOX_BIT);
| ^~~


Thanks for the report.

I checked this just now. This warning is due to another
helper erofs_inode_in_metabox().

I've fixed it up and just push it out but not sure if
it will catch up with the today's next (20250722).

Thanks,
Gao Xiang