ffsll() returns an int; there is no need for __ffs64 to return an
unsigned long; reduce it to an unsigned int which callers may expect.
As the result is undefined for no bits set we do not have to worry about
the -1.
MFC after: 3 days
Differential D60715
LinuxKPI: adjust return value of __ffs64 Authored by bz on Oct 13 2026, 10:19 PM.
Details
ffsll() returns an int; there is no need for __ffs64 to return an MFC after: 3 days
Diff Detail
|