[alsa-devel] [PATCH 05/10] ALSA: usb-audio: use endianness macros

Clemens Ladisch clemens at ladisch.de
Sun Mar 31 18:06:12 CEST 2013

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.


More information about the Alsa-devel mailing list