mirror of https://gitee.com/openkylin/linux.git
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: c830da8cbc
("skd: Remove superfluous initializations from skd_isr_completion_posted()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
69a84ba216
commit
c0b3dda7ed
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue