aboutsummaryrefslogtreecommitdiff
path: root/arch/m32r/lib/delay.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-08-16 19:53:45 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-17 08:17:36 -0700
commitc7ac601e1d744da6b213531eac140982c6821b6f (patch)
tree7075528dc1041241454f7e9dd1bc92867eaa8e68 /arch/m32r/lib/delay.c
parent8496fc47e311b2ceeccb224d215baae86172d092 (diff)
staging: comedi: cb_pcimdda: fix bug in call to subdev_8255_cleanup
The attach function only allocated 2 subdevices, an analog output sundevice (index 0) and the 8255 dio subdevice (index 1). The detach function is passing the wrong subdevice (index 2) to the subdev_8255_cleanup function which will result in a bug when it tries to do the kfree(s->private). Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/m32r/lib/delay.c')
0 files changed, 0 insertions, 0 deletions