hw/block/pflash_cfi02: Fix debug format string
commit6536987fd6aa52adbb6c128db1952e7c62f5c82b
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Wed, 1 May 2019 16:15:35 +0000 (1 18:15 +0200)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 2 Jul 2019 00:31:01 +0000 (2 02:31 +0200)
tree9c81c85038010fa913b18c96858a63653478c73e
parentc1474acd5d284d69d1543713ef00b90b9712619f
hw/block/pflash_cfi02: Fix debug format string

Always compile the debug code to prevent format string to bitrot.
Delete dead code.

Signed-off-by: Stephen Checkoway <stephen.checkoway@oberlin.edu>
Message-Id: <20190426162624.55977-3-stephen.checkoway@oberlin.edu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[PMD: Extracted from bigger patch, use PRIx32]
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/block/pflash_cfi02.c