[PATCH] staging: comedi: usbduxsigma: fix more sparse endianness warnings

Ian Abbott abbotti at mev.co.uk
Mon Sep 1 09:24:40 UTC 2014


On 2014-09-01 10:23, Ian Abbott wrote:
> On 2014-08-31 20:45, Chase Southwood wrote:
>> Sparse shows a couple of warnings like:
>>
>> drivers/staging/comedi/drivers/usbduxsigma.c:787:23: warning: cast to
>> restricted __be32
>>
>> Looking at the indicated lines shows that the issue is caused by an
>> incorrect cast to uint32_t instead of __be32.  Fix this cast.
>>
>> Signed-off-by: Chase Southwood <chase.southwood at gmail.com>
>> Cc: Ian Abbott <abbotti at mev.co.uk>
>> Cc: H Hartley Sweeten <hsweeten at visionengravers.com>
>> ---
>>   drivers/staging/comedi/drivers/usbduxsigma.c | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> Signed-off-by: Ian Abbott <abbotti at mev.co.uk>

I meant:

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