mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 17:59:32 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue