[PATCH 4/5] Staging: comedi: fix CHECK issue in ni_tio.c

Ian Abbott abbotti at mev.co.uk
Thu Mar 10 10:42:38 UTC 2016


On 10/03/16 06:52, Ravishankar Karkala Mallikarjunayya wrote:
> This is a patch to the ni_tio.c file that fixes up a CHECK issues
> found by the checkpatch.pl tool.
>
> i.e. Avoid crashing the kernel - try using WARN_ON & recovery code
> rather than BUG() or BUG_ON().
>
> Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankarkm32 at gmail.com>
> ---
>   drivers/staging/comedi/drivers/ni_tio.c | 18 +++++++++---------
>   1 file changed, 9 insertions(+), 9 deletions(-)


Thanks!

Reviewed-by: Ian Abbott <abbotti at mev.co.uk>

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-


More information about the devel mailing list