This patchset fixes debug macro pattern for vmxnet3. The old style uses #ifdef...#else...#endif to define debug macros, as a result the format string inside the macro will never be checked (debug not turned on by default) and is likely to cause build errors in the future when enabled. Note patch 1/3 "fix a build error when enabling debug output" has already been applied to -net tree by Jason Wang as a separate patch, it's included here for completeness because the other two depend on it.
Miao Yan (3): net/vmxnet3.c: fix a build error when enabling debug output net/vmxnet3: fix debug macro pattern for vmxnet3 net/vmxnet3: remove redundant VMW_SHPRN(...) definition hw/net/vmware_utils.h | 5 +- hw/net/vmxnet3.c | 2 +- hw/net/vmxnet_debug.h | 139 +++++++++++++++++++++++++++++++------------------- 3 files changed, 88 insertions(+), 58 deletions(-) -- 1.9.1