powerpc/pseries: Simplify attribute description check in papr_init()

Check only the first byte instead of scanning the entire string with
strnlen().

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260626110718.4367-2-thorsten.blum@linux.dev
This commit is contained in:
Thorsten Blum 2026-06-26 13:07:18 +02:00 • committed by Madhavan Srinivasan
commit 7cc3d3fdc9