mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-21 12:36:21 -04:00
s390/pai_crypto: Adjust paicrypt_copy() return statement
Adjust the return statement in paicrypt_copy() to the same statement as in paiext_copy(). Use one common style. No functional change. Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Reviewed-by: Jan Polensky <japo@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
This commit is contained in:
committed by
Heiko Carstens
parent
4738e11662
commit
4d065f3c80
@@ -428,7 +428,7 @@ static size_t paicrypt_copy(struct pai_userdata *userdata, unsigned long *page,
|
||||
outidx++;
|
||||
}
|
||||
}
|
||||
return outidx * sizeof(struct pai_userdata);
|
||||
return outidx * sizeof(*userdata);
|
||||
}
|
||||
|
||||
static int paicrypt_push_sample(size_t rawsize, struct paicrypt_map *cpump,
|
||||
|
||||
Reference in New Issue
Block a user