]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: vmk80xx: sanity check context used to get the boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 18 Jun 2015 17:54:57 +0000 (10:54 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Jun 2015 04:19:03 +0000 (21:19 -0700)
commitfd99960d3f1dffd1d93c44b9d2ef5f8bf3066388
tree78426dc55083fe1f8dc8e3a31cafd80662693ac4
parent62dace56f4a6138cc27ac22b5ad5d4a64359ba6a
staging: comedi: vmk80xx: sanity check context used to get the boardinfo

As done in all the comedi drivers that auto attach, sanity check the
passed context that is used to get the boardinfo.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/vmk80xx.c