[igt PATCH 4/6] intel_bios_reader: be more informative about unknown blocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We don't know how to decode all blocks, make it clear this is not an
error.

Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
---
 tools/intel_bios_reader.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/intel_bios_reader.c b/tools/intel_bios_reader.c
index 9f75d850d3fb..6581abf51472 100644
--- a/tools/intel_bios_reader.c
+++ b/tools/intel_bios_reader.c
@@ -1634,7 +1634,8 @@ static bool dump_section(struct context *context, int section_id)
 	if (dumper && dumper->name)
 		printf("BDB block %d - %s:\n", block->id, dumper->name);
 	else
-		printf("BDB block %d:\n", block->id);
+		printf("BDB block %d - Unknown, no decoding available:\n",
+		       block->id);
 
 	if (context->hexdump)
 		hex_dump_block(block);
-- 
2.1.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux