]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commite38576ce7301ddd5e39b969e3f2a136002fb429d
tree78426dc55083fe1f8dc8e3a31cafd80662693ac4
parentadda9ab042326572237df7fd6be42f746206a385
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