[Qemu-devel] [PATCH v2] puv3: always compile-check debug printf

2017-03-16 Thread Anishka0107
To prevent bitrot of the format string of the debug statement, files with conditional debug statements should ensure that printf is compiled always, and enclosed within if(0) statements and not in #ifdef. Signed-off-by: Anishka Gupta --- include/hw/unicore32/puv3.h | 3 +-- 1 file

[Qemu-devel] [PATCH] puv3: always compile-check debug printf

2017-03-16 Thread Anishka0107
To prevent bitrot of the format string of the debug statement, files with conditional debug statements should ensure that printf is compiled always, and enclosed within if(0) statements and not in #ifdef. Signed-off-by: Anishka Gupta --- include/hw/unicore32/puv3.h | 14 +- 1