From nobody Tue Nov 4 21:33:05 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1530718919382434.18308828722013; Wed, 4 Jul 2018 08:41:59 -0700 (PDT) Received: from localhost ([::1]:47795 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fajuk-0008C6-CE for importer@patchew.org; Wed, 04 Jul 2018 11:41:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fajsr-0006tY-F6 for qemu-devel@nongnu.org; Wed, 04 Jul 2018 11:39:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fajsq-0003ZW-Jh for qemu-devel@nongnu.org; Wed, 04 Jul 2018 11:39:57 -0400 Received: from mail-qt0-x22f.google.com ([2607:f8b0:400d:c0d::22f]:34719) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fajsq-0003ZI-Ei; Wed, 04 Jul 2018 11:39:56 -0400 Received: by mail-qt0-x22f.google.com with SMTP id m13-v6so4846188qth.1; Wed, 04 Jul 2018 08:39:56 -0700 (PDT) Received: from x1.local ([138.117.48.222]) by smtp.gmail.com with ESMTPSA id a127-v6sm2383795qkd.9.2018.07.04.08.39.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Jul 2018 08:39:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+zCMD72cpcTSMKNyiZ1SYHoSgEYP6dAw0euCdGIWDTw=; b=bfXC+Xi/rnFTG66ZYtVOoGCF0KmffYLNS9Ho5PJOUdRScGjSFs+HzPnkjenVoyQ+Rj XcaGEhMcQJjnpsDiXIHqxuCqTYoXMpgIc3k39MgcRIVhFNGBodtu+nhp8HxwINQEuPjJ //4ZWmBK7Zx0bjEIkNkzolE+7ftUhHPERe4KDar+Oe9jTp5taJu4ELdfyzUrGkBHIHgO Ff3vEj8yVGGIOd+g6NcQGI7vsKuGcsv1iLyv9AEtIiw/MB8HIvWHO/PEws8M7wxjrM2P g6YbckWQvr36unPXuKpmY1yOXoKPDHPfj4GWfSWCwq4PWSOecAGjQPLI9NRmxlWSWPWw JvPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=+zCMD72cpcTSMKNyiZ1SYHoSgEYP6dAw0euCdGIWDTw=; b=LHiHnpEHlHkiw2o3OP/91Q+SF39DHTOczHoFMEOAqvcQmkbarMDzABuFFdeDsoKZtT 424IsjS8Rg0jlwdP46eGyN/79xtb/aC22RXJgCgWuoWDZ6R/XtMiFj5ZhssdoXDdjCgq /lB/ZHusc6ItM8n9hBCXYXxNu3aarQZFv7JEHXIFj4DKy5y1z5eeucRAaEDvuc9uEXAj fVsNm/Qmch2ahH2HYWHT8G/F8tBP+vnBeULBwkc2kKfS2SVWFNkhd6dUuV1Qz5WWPMAH Cj2SEQmeP+vdwQWkl76GQFYqq42q/aSorkDKkUBOv5IbzQ6qu526+aiUJWpuZs1iYMA3 HTPA== X-Gm-Message-State: APt69E0CK/s8+aEacF1u+8BxF3fPkShIxgfLG4q17/2YZZKUDShp30v3 ltksFxWXr3oQmvRVr4yFcXk= X-Google-Smtp-Source: AAOMgpdNdxc8tC20uLUigolA7cwYbcf11vsT3/Fe8d5Nk0VDEbSIgNWwRBYXGJ5ZW887QDNNBFPqqA== X-Received: by 2002:ac8:17b3:: with SMTP id o48-v6mr2024712qtj.397.1530718795958; Wed, 04 Jul 2018 08:39:55 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Laurent Vivier , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Wed, 4 Jul 2018 12:39:12 -0300 Message-Id: <20180704153919.12432-2-f4bug@amsat.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180704153919.12432-1-f4bug@amsat.org> References: <20180704153919.12432-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::22f Subject: [Qemu-devel] [PATCH 1/8] qobject: Catch another straggler for use of qdict_put_str() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , "open list:Block layer core" , qemu-devel@nongnu.org, Markus Armbruster , Max Reitz , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 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=C3=A9 Reviewed-by: Markus Armbruster --- 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 80c653013f..ae363708ab 100644 --- a/qobject/block-qdict.c +++ b/qobject/block-qdict.c @@ -572,7 +572,7 @@ static QObject *qdict_crumple_for_keyval_qiv(QDict *src= , Error **errp) if (!tmp) { tmp =3D qdict_clone_shallow(src); } - qdict_put(tmp, ent->key, qstring_from_str(s)); + qdict_put_str(tmp, ent->key, s); g_free(buf); } =20 --=20 2.18.0