diff options
| author | 2026-07-01 13:44:28 +0200 | |
|---|---|---|
| committer | 2026-07-31 17:04:10 +0530 | |
| commit | b6cfbfd6b2992e3f34d255c983dc9f20ef0f5cd8 (patch) | |
| tree | dde730cb6f560a045aaf26231d7cd4a463fefbb7 /scripts/Makefile.thinlto | |
| parent | powerpc/pseries/ras: Use struct_size() to simplify fwnmi_get_errinfo() (diff) | |
powerpc/dt_cpu_ftrs: Avoid separate strlen() in scan_callback()
Check only the first byte instead of scanning the entire string with
strlen(). While at it, keep dt_cpu_name static, but move it into
dt_cpu_ftrs_scan_callback(), where it is assigned.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260701114428.818748-3-thorsten.blum@linux.dev
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
