diff options
author | Chenghai Huang <[email protected]> | 2024-11-30 16:01:31 +0800 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2024-12-10 13:40:25 +0800 |
commit | cd26cd65476711e2c69e0a049c0eeef4b743f5ac (patch) | |
tree | 85fa80feb505b3741ff7862577a56fc0e7e6e515 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 8552cb04e0831df3ff265c75ad33f705a45bc731 (diff) |
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 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions