Commit c0b3dda7 authored by Dan Carpenter's avatar Dan Carpenter Committed by Jens Axboe

skd: Uninitialized variable in skd_isr_completion_posted()

Someone got too agressive about removing initializations and
accidentally removed the "rc = 0;" which is required.

Fixes: c830da8c ("skd: Remove superfluous initializations from skd_isr_completion_posted()")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 69a84ba2
......@@ -1499,7 +1499,7 @@ static int skd_isr_completion_posted(struct skd_device *skdev,
u8 cmp_status;
u8 cmp_cycle;
u32 cmp_bytes;
int rc;
int rc = 0;
int processed = 0;
lockdep_assert_held(&skdev->lock);
......
Markdown is supported
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