On Sat, Oct 23, 2010 at 1:24 PM, Dimitris Papastamos <dp@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote: > The only problem I see with the above code, is when > codec_drv->reg_word_size > sizeof (unsigned int) but that can't really > happen in practice. I'm going to have to agree with Mark that this code is suspect. I understand everything you said, but it makes me nervous. Unless this code is in some kind of fast-path, I would prefer to see it rewritten to avoid any assumption about the sizes of the types involved. -- Timur Tabi Linux kernel developer at Freescale _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel