Skip to content
Commit 3f7d758b authored by Dan Carpenter's avatar Dan Carpenter Committed by Jens Axboe
Browse files

drivers/block/paride/pg.c: underflow bug in pg_write()



The test here can underflow so we pass bogus lengths to the hardware.
It's a static checker fix and I don't know the impact.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent f2fc8af4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment