NVMe: Fix possible arithmetic overflow for max segments
authorKeith Busch <keith.busch@intel.com>
Wed, 18 Nov 2015 23:33:08 +0000 (16:33 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 19 Nov 2015 20:02:24 +0000 (13:02 -0700)
commit6824c5ef5e8900e61ce8ed40885cacc1c9301c14
tree8519552bac5caa992fbba12f5cde82aa13512c82
parent1b2ff19e6a957b1ef0f365ad331b608af80e932e
NVMe: Fix possible arithmetic overflow for max segments

Reported-by: Paul Grabinar <paul.grabinar@ranbarg.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c