commit | 4f0036ef09387a49b709d9b319ad93492e53d790 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Tue Jun 26 18:03:34 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jul 06 15:23:53 2012 -0700 |
tree | 46fd057facfc68bf721d2f02b31bc1e2d721ea40 | |
parent | 0a5aed487645b13531b876775c1390afd20296a5 [diff] |
staging: comedi: cb_pcidas: check for failure of subdev_8255_init It's possible for subdev_8255_init() to fail due to its kzalloc(). Make sure to check for this failure and pass on the error code. 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>