diff options
| author | Chenghai Huang <[email protected]> | 2024-11-30 08:01:31 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2024-12-10 05:40:25 +0000 |
| commit | cd26cd65476711e2c69e0a049c0eeef4b743f5ac (patch) | |
| tree | 85fa80feb505b3741ff7862577a56fc0e7e6e515 /drivers/platform/x86/intel/vsec.c | |
| parent | crypto: rsassa-pkcs1 - Copy source data for SG list (diff) | |
| download | kernel-cd26cd65476711e2c69e0a049c0eeef4b743f5ac.tar.gz kernel-cd26cd65476711e2c69e0a049c0eeef4b743f5ac.zip | |
crypto: hisilicon/debugfs - fix the struct pointer incorrectly offset problem
Offset based on (id * size) is wrong for sqc and cqc.
(*sqc/*cqc + 1) can already offset sizeof(struct(Xqc)) length.
Fixes: 15f112f9cef5 ("crypto: hisilicon/debugfs - mask the unnecessary info from the dump")
Cc: <[email protected]>
Signed-off-by: Chenghai Huang <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/vsec.c')
0 files changed, 0 insertions, 0 deletions
