s390x/cpu_models: Misc cleanup on returned error code and local @err variables
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | target/s390x/cpu_model: Make check_compatibility() return booleantarget/ | +7 | 1 reply | |
| 2/6 | target/s390x/cpu_model: Drop local @err in s390_realize_cpu_model()target/ | +1 | 2 replies | |
| 3/6 | target/s390x/cpu_models: Make kvm_s390_get_host_cpu_model() return booleantarget/ target/ target/ | +14 | 6 replies | |
| 4/6 | target/s390x/cpu_models: Drop local @err in get_max_cpu_model()target/ | +1 | 1 reply | |
| 5/6 | target/s390x/cpu_models: Make kvm_s390_apply_cpu_model() return booleantarget/ target/ target/ | +12 | 1 reply | |
| 6/6 | target/s390x/cpu_models_sysemu: Drop local @err in apply_cpu_model()target/ | +1 | 1 reply |
Reviews trailers per patch
5 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Philippe Mathieu-Daudé | Thomas Huth |
|---|---|---|
| Series | R-b | |
| 1/6 | R-b | |
| 2/6 | R-b | |
| 3/6 | ||
| 4/6 | R-b | |
| 5/6 | R-b | |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] s390x/cpu_models: Misc cleanup on returned error code and local @err variables
From: Zhao Liu <[email protected]>
Hi list,
This series is the followup of Thomas' suggestion in previous ERRP_GUARD() cleanup[1]. And based on Thomas' thoughts, I tried to clean up as many of the other related places (in s390x/cpu_models.c).
[1]: https://lore.kernel.org/qemu-devel/[email protected]/
Regards,
Zhao
---
Zhao Liu (6):
target/s390x/cpu_model: Make check_compatibility() return boolean target/s390x/cpu_model: Drop local @err in s390_realize_cpu_model() target/s390x/cpu_models: Make kvm_s390_get_host_cpu_model() return
boolean
target/s390x/cpu_models: Drop local @err in get_max_cpu_model() target/s390x/cpu_models: Make kvm_s390_apply_cpu_model() return
boolean
target/s390x/cpu_models_sysemu: Drop local @err in apply_cpu_model()
target/s390x/cpu_models.c | 25 ++++++++++--------------- target/s390x/cpu_models.h | 10 ++++++---- target/s390x/cpu_models_sysemu.c | 5 +---- target/s390x/kvm/kvm.c | 28 +++++++++++++++------------- 4 files changed, 32 insertions(+), 36 deletions(-)
Signature · 1 line
2.34.1