staging: xillybus: Add sanity check in interrupt handler
authorEli Billauer <eli.billauer@gmail.com>
Sat, 5 Jul 2014 09:45:07 +0000 (12:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 19:19:37 +0000 (12:19 -0700)
commitcc6289fa1469831b806f2a857a19169d15759c31
treef7d01a062a20412c85274fab7deed294ab9c48c6
parent1f765d9f4cfca6ef77dd19a0e48590324e579c72
staging: xillybus: Add sanity check in interrupt handler

Data arriving from the hardware is verified prior to its use. The lack of
this check has never been reported to cause a problem, but it's necessary
nevertheless.

Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xillybus/xillybus_core.c