[PATCH] staging: comedi: usbdux: fix sparse endianness warnings

Chase Southwood chase.southwood at gmail.com
Sun Aug 31 19:09:49 UTC 2014


On Sat, Aug 30, 2014 at 5:40 AM, Ian Abbott <abbotti at mev.co.uk> wrote:
>
> That seems fine.  Perhaps the variable 'p' in usbdux_ao_insn_write() should
> also be of type '__le16 *'?
>

You're entirely correct.  I had seen this in the output from Sparse,
but for some reason at first glance I had convinced myself that the
fix would be more complicated than it is.  I'll get a patch out with a
Suggested-by: tag for you very soon.

Thanks,
Chase

> Reviewed-by: Ian Abbott <abbotti at mev.co.uk>
>
> --
> -=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk>        )=-
> -=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-


More information about the devel mailing list