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.
Changes in v3:
- fix a build error on 32 bit platforms
Changes in v2:
- fix grammar errors in commit log
Miao Yan (4):
net/vmxnet3: fix a build error when enabling debug output
net/vmxnet3: use %zu for size_t in printf
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 | 8 +--
hw/net/vmxnet_debug.h | 139 +++++++++++++++++++++++++++++++-------------------
3 files changed, 91 insertions(+), 61 deletions(-)
--
1.9.1