diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2022-04-05 16:14:28 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2022-04-05 16:14:28 +0100 |
| commit | f53faa70bb63cc0c8e2fd0752b7ad2c8a79616ba (patch) | |
| tree | d3c0429ed09b6cd2a6373b5242d7f869b237c024 /scripts/coverity-scan/model.c | |
| parent | 2e185fb65e3f3872d3fa921cef5a23368218b3b6 (diff) | |
| parent | 776a6a32b4982a68d3b7a77cbfaae6c2b363a0b8 (diff) | |
| download | focaccia-qemu-f53faa70bb63cc0c8e2fd0752b7ad2c8a79616ba.tar.gz focaccia-qemu-f53faa70bb63cc0c8e2fd0752b7ad2c8a79616ba.zip | |
Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging
* fix vss-win32 compilation with clang++ * update Coverity model * add measurement calculation to amd-memory-encryption docs # gpg: Signature made Tue 05 Apr 2022 09:42:59 BST # gpg: using RSA key F13338574B662389866C7682BFFBD25F78C7AE83 # gpg: issuer "pbonzini@redhat.com" # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full] # gpg: aka "Paolo Bonzini <pbonzini@redhat.com>" [full] # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1 # Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83 * tag 'for-upstream' of https://gitlab.com/bonzini/qemu: docs/system/i386: Add measurement calculation details to amd-memory-encryption qga/vss-win32: fix compilation with clang++ coverity: update model for latest tools Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/coverity-scan/model.c')
| -rw-r--r-- | scripts/coverity-scan/model.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/coverity-scan/model.c b/scripts/coverity-scan/model.c index 9d4fba53d9..686d1a3008 100644 --- a/scripts/coverity-scan/model.c +++ b/scripts/coverity-scan/model.c @@ -356,7 +356,8 @@ int g_poll (GPollFD *fds, unsigned nfds, int timeout) typedef struct _GIOChannel GIOChannel; GIOChannel *g_io_channel_unix_new(int fd) { - GIOChannel *c = g_malloc0(sizeof(GIOChannel)); + /* cannot use incomplete type, the actual struct is roughly this size. */ + GIOChannel *c = g_malloc0(20 * sizeof(void *)); __coverity_escape__(fd); return c; } |