kernel-ark/drivers/staging/comedi
Ian Abbott 791771e4e0 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>
2014-02-07 11:08:46 -08:00
..
drivers staging: comedi: usbduxsigma: fix unaligned dereferences 2014-02-07 11:08:46 -08:00
kcomedilib staging: comedi: remove comedi_debug module parameter 2013-11-25 11:50:53 -08:00
comedi_buf.c staging: comedi: protect buffer from being freed while mmapped 2013-11-11 16:16:45 -08:00
comedi_compat32.c file->f_op is never NULL... 2013-10-24 23:34:54 -04:00
comedi_compat32.h
comedi_fops.c staging: comedi: fix bug destroying subdevice files after parent 2014-01-09 10:50:13 -08:00
comedi_internal.h staging: comedi: protect buffer from being freed while mmapped 2013-11-11 16:16:45 -08:00
comedi_pci.c
comedi_pcmcia.c
comedi_usb.c
comedi.h
comedidev.h comedi: Humusoft MF634 and MF624 DAQ cards driver 2014-01-13 15:03:12 -08:00
comedilib.h
drivers.c staging: comedi: fix too early cleanup in comedi_auto_config() 2014-02-07 11:08:46 -08:00
Kconfig comedi: Humusoft MF634 and MF624 DAQ cards driver 2014-01-13 15:03:12 -08:00
Makefile staging: comedi: remove comedi_debug module parameter 2013-11-25 11:50:53 -08:00
proc.c staging: comedi: use refcount while reading /proc/comedi 2013-11-11 16:16:44 -08:00
range.c staging: comedi: range: remove use of DPRINTK 2013-11-25 11:50:53 -08:00
TODO