summaryrefslogtreecommitdiff
path: root/drivers/hwspinlock
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2014-01-21 17:39:05 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-07 11:08:46 -0800
commit791771e4e0587652e193ac8920e14911045a1dc8 (patch)
treef57532192bd48af8104a3afa296f5a8450f3998f /drivers/hwspinlock
parentf1ffdfcc52744ed264041741020364cfbad9c0de (diff)
staging: comedi: usbduxsigma: fix unaligned dereferences
There are a couple of dereferences such as `*(uint32_t *)(devpriv->insn_buf + 1)` that are unaligned as `devpriv->insn_buf` is of type `uint8_t *`. This works on x86 architecture but may not be supported on other architectures. Call `get_unalign()` to perform the unaligned dereferences. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Cc: Bernd Porr <mail@berndporr.me.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions