aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hdata/spira.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hdata/spira.c b/hdata/spira.c
index c820c4d..3a26f17 100644
--- a/hdata/spira.c
+++ b/hdata/spira.c
@@ -1213,6 +1213,11 @@ static void add_iplparams_features(const struct HDIF_common_hdr *iplp)
name[sizeof(name)-1] = '\0';
flags = be64_to_cpu(feature->flags);
+ if (strlen(name) == 0) {
+ prlog(PR_DEBUG, "IPLPARAMS: FW feature name is NULL\n");
+ continue;
+ }
+
prlog(PR_DEBUG, "IPLPARAMS: FW feature %s = %016"PRIx64"\n",
name, flags);