linux-IllusionX/drivers/message
Dan Carpenter 491212014e mptfusion: don't allow negative bytes in kbuf_alloc_2_sgl()
There is a static checker warning here because "bytes" is controlled by
the user and we cap the upper bound with min() but allow negatives.
Negative bytes will result in some nasty warning messages but are not
super harmful.  Anyway, no one needs negative bytes so let's just check
for it and return NULL.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2015-11-11 20:58:06 -05:00
..
fusion mptfusion: don't allow negative bytes in kbuf_alloc_2_sgl() 2015-11-11 20:58:06 -05:00
Makefile i2o: move to staging 2015-02-03 15:58:39 -08:00