[alsa-devel] [PATCH 05/10] ALSA: usb-audio: use endianness macros
eldad at fogrefinery.com
Sun Mar 31 19:15:48 CEST 2013
On Sun, 31 Mar 2013, Clemens Ladisch wrote:
> Eldad Zack wrote:
> > Replace the endianness conversions with the kernel-wide swabbing macros.
> > + u32 data;
> > + data = cpu_to_le32(rate);
> cpu_to_le32() returns not u32 but __le32.
> Please use that to make sparse happy.
Thanks! Fixed locally. This propogates along the series, so I'll wait
for other comments to repost.
BTW, sparse (0.4.3) didn't complain on my box. Maybe I'm doing it wrong?
I'm just calling make C=1.
More information about the Alsa-devel