aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorMartin Fuzzey <[email protected]>2023-08-04 08:34:30 +0000
committerMark Brown <[email protected]>2023-08-04 12:26:53 +0000
commit30c694fd4a99fbbc4115d180156ca01b60953371 (patch)
treebe4850ddee00cba62d12136ab75690bdd321b528 /tools/perf/scripts/python/sctop.py
parentLinux 6.5-rc4 (diff)
downloadkernel-30c694fd4a99fbbc4115d180156ca01b60953371.tar.gz
kernel-30c694fd4a99fbbc4115d180156ca01b60953371.zip
regulator: da9063: better fix null deref with partial DT
Two versions of the original patch were sent but V1 was merged instead of V2 due to a mistake. So update to V2. The advantage of V2 is that it completely avoids dereferencing the pointer, even just to take the address, which may fix problems with some compilers. Both versions work on my gcc 9.4 but use the safer one. Fixes: 98e2dd5f7a8b ("regulator: da9063: fix null pointer deref with partial DT config") Signed-off-by: Martin Fuzzey <[email protected]> Tested-by: Benjamin Bara <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions