Re: [PATCH 1/7] ASoC: mt8365: Open code BIT() to avoid spurious warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Reviewed-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx>

On 07/09/2024 02:53, Mark Brown wrote:
The mt8365 driver uses bits.h to define bitfields but BIT() uses unsigned
long constants so does not play well with being bitwise negated and
converted to an unsigned int, the compiler complains about width reduction
on a number of architectures. Just open code the shifting to avoid the
issue.

Generated with s/BIT(/(1U << /

--
Regards,
Alexandre




[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux