Skip to content
Commit 30d3b5d8 authored by Cristian Marussi's avatar Cristian Marussi
Browse files

Fix test_pc005_v2.c extended name suppport checks



POWERCAP_DOMAIN_ATTRIBUTES returns, amongst other things, if a domain
supports an extended name: in such a case the reply from will contain ONLY
the first 15 chars of the extended name.

When supported, instead, the extended domain name can be queried by issuing
an additional dedicated POWERCAP_DOMAIN_NAME_GET command.

The current check against ext_name_supp makes no sense from the
specification point of view and it also causes a segfault when running
against TARGET generic_scmi.

Fix by removing the needless check.

Signed-off-by: Cristian Marussi's avatarCristian Marussi <cristian.marussi@arm.com>
parent a20d387e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment