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

2014-09-02 Thread Greg KH
On Mon, Sep 01, 2014 at 10:24:40AM +0100, Ian Abbott wrote: > 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 > >> >

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

2014-09-01 Thread Ian Abbott
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

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

2014-09-01 Thread Ian Abbott
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 thi

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

2014-08-31 Thread Chase Southwood
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 Cc: I