aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2020-07-21 17:36:14 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-07-21 17:36:14 +0100
commita418695e1b177da055d477c4e15ce900c01a94fd (patch)
treeaac4e81d24aa80e8f3c510d30a8686bc2af622f7 /util
parent5252220dbf006969fab377d7ab42c6704d833e8a (diff)
parentd87350b065128e8156e7aca93e89a1ab9e5fa63d (diff)
downloadqemu-a418695e1b177da055d477c4e15ce900c01a94fd.zip
qemu-a418695e1b177da055d477c4e15ce900c01a94fd.tar.gz
qemu-a418695e1b177da055d477c4e15ce900c01a94fd.tar.bz2
Merge remote-tracking branch 'remotes/kraxel/tags/fixes-20200721-pull-request' into staging
fixes for xhci and modular builds. # gpg: Signature made Tue 21 Jul 2020 15:02:33 BST # gpg: using RSA key 4CB6D8EED3E87138 # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full] # gpg: aka "Gerd Hoffmann <gerd@kraxel.org>" [full] # gpg: aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full] # Primary key fingerprint: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138 * remotes/kraxel/tags/fixes-20200721-pull-request: module: ignore NULL type qxl: fix modular builds with dtrace xhci: fix valid.max_access_size to access address registers Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'util')
-rw-r--r--util/module.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/module.c b/util/module.c
index 90e9bd4..0ab0085 100644
--- a/util/module.c
+++ b/util/module.c
@@ -275,6 +275,9 @@ void module_load_qom_one(const char *type)
{
int i;
+ if (!type) {
+ return;
+ }
if (module_loaded_qom_all) {
return;
}