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

From: Ian Abbott
Date: Thu Mar 10 2016 - 05:42:53 EST


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@xxxxxxxxx>
---
drivers/staging/comedi/drivers/ni_tio.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)


Thanks!

Reviewed-by: Ian Abbott <abbotti@xxxxxxxxx>

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