Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Fix integer types in <sound/hdsp.h> SNDRV_HDSP_IOCTL_GET_PEAK_RMS ioctl

We should be using __u32 et al, not the kernel-private types.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>

+6 -6
+6 -6
include/sound/hdsp.h
··· 30 30 }; 31 31 32 32 struct hdsp_peak_rms { 33 - u32 input_peaks[26]; 34 - u32 playback_peaks[26]; 35 - u32 output_peaks[28]; 36 - u64 input_rms[26]; 37 - u64 playback_rms[26]; 33 + __u32 input_peaks[26]; 34 + __u32 playback_peaks[26]; 35 + __u32 output_peaks[28]; 36 + __u64 input_rms[26]; 37 + __u64 playback_rms[26]; 38 38 /* These are only used for H96xx cards */ 39 - u64 output_rms[26]; 39 + __u64 output_rms[26]; 40 40 }; 41 41 42 42 #define SNDRV_HDSP_IOCTL_GET_PEAK_RMS _IOR('H', 0x40, struct hdsp_peak_rms)