qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel]  [PATCH v2 0/3] fix debug macro pattern for vmxnet3
@ 2015-12-05  8:54 Miao Yan
  2015-12-05  8:55 ` [Qemu-devel] [PATCH v2 1/3] net/vmxnet3.c: fix a build error when enabling debug output Miao Yan
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Miao Yan @ 2015-12-05  8:54 UTC (permalink / raw)
  To: jasowang, dmitry, qemu-devel, eblake, armbru

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-12-11  3:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-05  8:54 [Qemu-devel] [PATCH v2 0/3] fix debug macro pattern for vmxnet3 Miao Yan
2015-12-05  8:55 ` [Qemu-devel] [PATCH v2 1/3] net/vmxnet3.c: fix a build error when enabling debug output Miao Yan
2015-12-05 16:32   ` Eric Blake
2015-12-05  8:55 ` [Qemu-devel] [PATCH v2 2/3] net/vmxnet3: fix debug macro pattern for vmxnet3 Miao Yan
2015-12-07  2:47   ` Jason Wang
2015-12-07 22:04     ` Eric Blake
2015-12-08  2:53       ` Miao Yan
2015-12-11  3:12       ` Jason Wang
2015-12-05  8:55 ` [Qemu-devel] [PATCH v2 3/3] net/vmxnet3: remove redundant VMW_SHPRN(...) definition Miao Yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).