diff options
| author | Thomas Richter <tmricht@linux.ibm.com> | 2025-10-08 10:00:21 +0300 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2025-10-21 11:17:29 +0300 |
| commit | 4d065f3c80cc6c20437c75bec841eacc9488e360 (patch) | |
| tree | 833b6b3f897253b797bada686686dbbc531191da | |
| parent | 4738e1166260fd812faf5fef624b0f9308d8c4d4 (diff) | |
| download | linux-4d065f3c80cc6c20437c75bec841eacc9488e360.tar.xz | |
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>
| -rw-r--r-- | arch/s390/kernel/perf_pai_crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/perf_pai_crypto.c b/arch/s390/kernel/perf_pai_crypto.c index 62bf8a15bf32..9b06b8a83342 100644 --- a/arch/s390/kernel/perf_pai_crypto.c +++ b/arch/s390/kernel/perf_pai_crypto.c @@ -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, |
