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.
Cc: jasowang@redhat.com
Cc: jiri@resnulli.us
Cc: f4bug@amsat.org
Cc: armbru@redhat.com
Mao Zhongyi (3):
net/rocker: Remove the dead error handling
net/rocker: Plug memory leak in pci_rocker_init()
net/rocker: Convert to realize()
hw/net/rocker/rocker.c | 61 ++++++++++-----------------------------------
hw/net/rocker/rocker_desc.c | 3 ---
hw/net/rocker/rocker_fp.c | 4 ---
3 files changed, 13 insertions(+), 55 deletions(-)
--
2.9.3