[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PULL v2 14/20] qobject: Catch another straggler for use of
From: |
Laurent Vivier |
Subject: |
[Qemu-block] [PULL v2 14/20] qobject: Catch another straggler for use of qdict_put_str() |
Date: |
Tue, 30 Oct 2018 12:23:31 +0100 |
From: Philippe Mathieu-Daudé <address@hidden>
Patch created mechanically by rerunning:
$ spatch --sp-file scripts/coccinelle/qobject.cocci \
--macro-file scripts/cocci-macro-file.h \
--dir . --in-place
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
---
qobject/block-qdict.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qobject/block-qdict.c b/qobject/block-qdict.c
index 42054cc274..1487cc5dd8 100644
--- a/qobject/block-qdict.c
+++ b/qobject/block-qdict.c
@@ -577,7 +577,7 @@ static QObject *qdict_crumple_for_keyval_qiv(QDict *src,
Error **errp)
if (!tmp) {
tmp = qdict_clone_shallow(src);
}
- qdict_put(tmp, ent->key, qstring_from_str(s));
+ qdict_put_str(tmp, ent->key, s);
g_free(buf);
}
--
2.17.2
- [Qemu-block] [PULL v2 00/20] Qemu trivial for 3.1 patches, Laurent Vivier, 2018/10/30
- [Qemu-block] [PULL v2 01/20] configs/alpha: Remove unused CONFIG_PARALLEL_ISA switch, Laurent Vivier, 2018/10/30
- [Qemu-block] [PULL v2 06/20] docs/devel/testing.rst: add missing newlines after code block, Laurent Vivier, 2018/10/30
- [Qemu-block] [PULL v2 02/20] vga_int: remove unused function protype, Laurent Vivier, 2018/10/30
- [Qemu-block] [PULL v2 14/20] qobject: Catch another straggler for use of qdict_put_str(),
Laurent Vivier <=
- [Qemu-block] [PULL v2 08/20] scripts/qemu.py: remove trailing quotes on docstring, Laurent Vivier, 2018/10/30
- [Qemu-block] [PULL v2 09/20] qemu-iotests: make 218 executable, Laurent Vivier, 2018/10/30
- [Qemu-block] [PULL v2 07/20] scripts/decodetree.py: remove unused imports, Laurent Vivier, 2018/10/30
- [Qemu-block] [PULL v2 17/20] hw/pci-host: Remove useless parenthesis around DIV_ROUND_UP macro, Laurent Vivier, 2018/10/30
- [Qemu-block] [PULL v2 04/20] tests/tcg/README: fix location for lm32 tests, Laurent Vivier, 2018/10/30
- [Qemu-block] [PULL v2 19/20] ppc: move at24c to its own CONFIG_ symbol, Laurent Vivier, 2018/10/30
- [Qemu-block] [PULL v2 10/20] linux-user: fix comment s/atomic_write/atomic_set/, Laurent Vivier, 2018/10/30
- [Qemu-block] [PULL v2 11/20] cpu.h: fix a typo in comment, Laurent Vivier, 2018/10/30
- [Qemu-block] [PULL v2 05/20] qemu-iotests: fix filename containing checks, Laurent Vivier, 2018/10/30
- [Qemu-block] [PULL v2 15/20] xen: Use the PCI_DEVICE macro, Laurent Vivier, 2018/10/30