diff options
author | Zhao Liu <zhao1.liu@intel.com> | 2024-04-25 11:12:31 +0800 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-04-30 06:21:47 +0200 |
commit | 38098df346b3daaa8771f2aee64c6b47d4c00e56 (patch) | |
tree | 540db680e902662bed0ab2596097a0e8c39da481 /scripts/shaderinclude.py | |
parent | c6f1baf2d5a91fd2dcb31c3911fa5bec878faf6f (diff) | |
download | qemu-38098df346b3daaa8771f2aee64c6b47d4c00e56.zip qemu-38098df346b3daaa8771f2aee64c6b47d4c00e56.tar.gz qemu-38098df346b3daaa8771f2aee64c6b47d4c00e56.tar.bz2 |
target/s390x/cpu_models: Make kvm_s390_apply_cpu_model() return boolean
As error.h suggested, the best practice for callee is to return
something to indicate success / failure.
So make kvm_s390_apply_cpu_model() return boolean and check the
returned boolean in apply_cpu_model() instead of accessing @err.
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240425031232.1586401-7-zhao1.liu@intel.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/shaderinclude.py')
0 files changed, 0 insertions, 0 deletions