diff options
author | Wan Jiabing <[email protected]> | 2022-04-26 19:30:53 +0800 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2022-04-29 16:03:47 +0100 |
commit | 2e29b9971ac54dec88baa58856a230ec2f2a2dff (patch) | |
tree | 486e19ed5aabf3500501f189727fcbfb187bb5ac /tools/perf/scripts/python/check-perf-trace.py | |
parent | 8a58bcd00e2e8d46afce468adc09fcd7968f514c (diff) |
arm64/sme: Fix NULL check after kzalloc
Fix following coccicheck error:
./arch/arm64/kernel/process.c:322:2-23: alloc with no test, possible model on line 326
Here should be dst->thread.sve_state.
Fixes: 8bd7f91c03d8 ("arm64/sme: Implement traps and syscall handling for SME")
Signed-off-by: Wan Jiabing <[email protected]>
Reviwed-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions