linux/drivers/misc/mic
Dan Carpenter 7b64dbf849 misc: mic/scif: fix wrap around tests
Signed integer overflow is undefined.  Also I added a check for
"(offset < 0)" in scif_unregister() because that makes it match the
other conditions and because I didn't want to subtract a negative.

Fixes: ba612aa8b4 ('misc: mic: SCIF memory registration and unregistration')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-07 21:25:50 -08:00
..
bus misc: mic: replace kfree with put_device 2015-10-17 21:42:29 -07:00
card virtio: make find_vqs() checkpatch.pl-friendly 2016-01-12 20:47:06 +02:00
common misc: mic: Remove COSM functionality from the MIC card driver 2015-10-04 12:46:06 +01:00
cosm misc: mic: Fix randconfig build error 2015-10-17 21:42:29 -07:00
cosm_client misc: mic: COSM client driver 2015-10-04 12:46:06 +01:00
host misc: mic: Remove COSM functionality from the MIC host driver 2015-10-04 12:46:06 +01:00
scif misc: mic/scif: fix wrap around tests 2016-02-07 21:25:50 -08:00
Kconfig misc: mic: Fix SCIF build failure with IOMMU_SUPPORT disabled 2015-10-05 04:37:28 +01:00
Makefile misc: mic: Update MIC host daemon with COSM changes 2015-10-04 12:54:54 +01:00