]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: usbduxsigma: fix more sparse endianness warnings
authorChase Southwood <chase.southwood@gmail.com>
Sun, 31 Aug 2014 19:45:00 +0000 (14:45 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Sep 2014 17:40:03 +0000 (10:40 -0700)
commita80f58c96d6dd8c7bf7ec33ca695c4fa6b956862
treed21c51ac351c29a4485e64482cd8ff4117ca7970
parentae689d52f778fef3026dc7f8d9349df4ca465e6d
staging: comedi: usbduxsigma: fix more sparse endianness warnings

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@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Cc: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/usbduxsigma.c