9 Feb
2015
9 Feb
'15
4:16 p.m.
At Fri, 6 Feb 2015 15:55:54 -0600, Pierre-Louis Bossart wrote:
+static inline void snd_pcm_pack_audio_tstamp_report(__u32 *data, __u32 *accuracy,
struct snd_pcm_audio_tstamp_report *report)
Put const to report argument.
+{
- u32 tmp;
- tmp = report->accuracy_report;
- tmp <<= 4;
- tmp |= report->actual_type;
- tmp <<= 1;
- tmp |= report->valid;
- *data |= (tmp << 16);
Isn't there any zero-clear?
Takashi