qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
To: qemu-devel@nongnu.org
Cc: armbru@redhat.com, jasowang@redhat.com, f4bug@amsat.org,
	jiri@resnulli.us
Subject: [Qemu-devel] [PATCH v5 0/4] Convert to realize and fix error handling
Date: Tue, 23 May 2017 12:04:36 +0800	[thread overview]
Message-ID: <cover.1495508197.git.maozy.fnst@cn.fujitsu.com> (raw)

v5:
* Patch 1 removed the dead error handling that was previously missing.
* Patch 2 and 3 has not changed.
* Patch 4 is a new patch to fix the unusual macro name.

v4:
* Patch 1 is following Markus's suggestion that remove the dead error
  handling.
* Patch 2 is separate from patch 1 to plug the memory leak in the v3.
* Patch 3 is based on the patch 1 in the v3. Meanwhile, dorp the superfluous
  prefix "rocker:" and adjust the commit message.

v3:
* Following Jason's suggstion that add suitable error message to 
  each error site.
* Modified the commit message to make it easier to read.

v2:
* Following Philippe's suggestion that shorten the patch subject 
  "hw/net/rocker/rocker" to "net/rocker". 
* Use a consistent log format to report error message.
* Add a specific goto label "err_name_too_long" to make a correct
  cleanup.

Mao Zhongyi (4):
  net/rocker: Remove the dead error handling
  net/rocker: Plug memory leak in pci_rocker_init()
  net/rocker: Convert to realize()
  net/rocker: Fix the unusual macro name

 hw/net/rocker/rocker.c        | 93 ++++++++++---------------------------------
 hw/net/rocker/rocker_desc.c   | 10 -----
 hw/net/rocker/rocker_fp.c     |  4 --
 hw/net/rocker/rocker_of_dpa.c | 20 ----------
 hw/net/rocker/rocker_world.c  | 12 +++---
 5 files changed, 27 insertions(+), 112 deletions(-)

-- 
2.9.3

             reply	other threads:[~2017-05-23  4:05 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-23  4:04 Mao Zhongyi [this message]
2017-05-23  4:04 ` [Qemu-devel] [PATCH v5 1/4] net/rocker: Remove the dead error handling Mao Zhongyi
2017-05-23  9:27   ` Markus Armbruster
2017-05-23 10:09     ` Mao Zhongyi
2017-05-23 10:52       ` Markus Armbruster
2017-05-24  4:43     ` Philippe Mathieu-Daudé
2017-05-24  5:35       ` Markus Armbruster
2017-05-24 12:01         ` Marcel Apfelbaum
2017-05-25  1:02           ` David Gibson
2017-05-23  4:04 ` [Qemu-devel] [PATCH v5 2/4] net/rocker: Plug memory leak in pci_rocker_init() Mao Zhongyi
2017-05-24  4:48   ` Philippe Mathieu-Daudé
2017-05-23  4:04 ` [Qemu-devel] [PATCH v5 3/4] net/rocker: Convert to realize() Mao Zhongyi
2017-05-24  4:48   ` Philippe Mathieu-Daudé
2017-05-23  4:04 ` [Qemu-devel] [PATCH v5 4/4] net/rocker: Fix the unusual macro name Mao Zhongyi
2017-05-23  9:16   ` Markus Armbruster
2017-05-24  4:48   ` Philippe Mathieu-Daudé
2017-07-26  3:45 ` [Qemu-devel] [PATCH v5 0/4] Convert to realize and fix error handling Mao Zhongyi
2017-07-26  4:09   ` Jason Wang
2017-07-26  5:11     ` Mao Zhongyi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1495508197.git.maozy.fnst@cn.fujitsu.com \
    --to=maozy.fnst@cn.fujitsu.com \
    --cc=armbru@redhat.com \
    --cc=f4bug@amsat.org \
    --cc=jasowang@redhat.com \
    --cc=jiri@resnulli.us \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).