diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2017-05-26 16:28:38 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-06-06 17:59:14 +1000 |
commit | 23ca5d4fe40fea454b0a1c120d4a4a33aa3f2476 (patch) | |
tree | f789338e96935796c00b0937a9cde6514bf336d5 /hdata | |
parent | 9abb449b9c572e98002a8a500afcc3958d829297 (diff) | |
download | skiboot-23ca5d4fe40fea454b0a1c120d4a4a33aa3f2476.zip skiboot-23ca5d4fe40fea454b0a1c120d4a4a33aa3f2476.tar.gz skiboot-23ca5d4fe40fea454b0a1c120d4a4a33aa3f2476.tar.bz2 |
hdata: Make out-of-range idata print at PR_DEBUG
Some fields just aren't populated on some systems.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata')
-rw-r--r-- | hdata/hdif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hdata/hdif.c b/hdata/hdif.c index dd5e122..b616a33 100644 --- a/hdata/hdif.c +++ b/hdata/hdif.c @@ -30,8 +30,8 @@ const void *HDIF_get_idata(const struct HDIF_common_hdr *hdif, unsigned int di, } if (di >= be16_to_cpu(hdr->idptr_count)) { - prerror("HDIF: idata index out of range !\n"); - backtrace(); + prlog(PR_DEBUG, "HDIF: idata %d out of range for %.6s!\n", + di, hdr->id); return NULL; } |