From nobody Mon Feb 9 20:35:34 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1588593571; cv=none; d=zohomail.com; s=zohoarc; b=MC3uEOHl+RaOZVeIrrpl6V/BsfbPnNz/5k4sJzE9gsnQu/iEHXCN/e6mpvQkpCy6MtMYNb/CcASgo5t463ZPqXvWIrnydVRm0XsiQv5sVv1TCXUFCxgVrnUEq+VdUJhkQC5HelQoNYTeEmp8VWj5QfpY/FtzO4XCMnsvBMcy2Vw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588593571; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=obSCKk2me/00cEpyiCftGc/OOp6WIYGJzAVVhOdRcgM=; b=HFLfODMcMaJAbBCNlxaxDFlGB/DbPftyA10m9LBqwjQjI601eALtYNqgHp7Ra2ZGRy7NuUfDU/5w2+IXoSP40lx0/Sde0nRz/uCS9gk2nIjxwuZFfkrnu/yM1hIHMgxd1GG1mWyQ7FX6d1hDVvPiB0wWB0zUlo3LCuUX2hUvnvs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 15885935710686.958845322661546; Mon, 4 May 2020 04:59:31 -0700 (PDT) Received: from localhost ([::1]:59462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVZkv-00048J-PO for importer@patchew.org; Mon, 04 May 2020 07:59:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVZie-0001r4-AC; Mon, 04 May 2020 07:57:08 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:35673) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVZid-0001G2-Cm; Mon, 04 May 2020 07:57:08 -0400 Received: by mail-wm1-x342.google.com with SMTP id r26so8716515wmh.0; Mon, 04 May 2020 04:57:02 -0700 (PDT) Received: from x1w.redhat.com (26.red-88-21-207.staticip.rima-tde.net. [88.21.207.26]) by smtp.gmail.com with ESMTPSA id n12sm5660984wrj.95.2020.05.04.04.57.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 May 2020 04:57:00 -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=obSCKk2me/00cEpyiCftGc/OOp6WIYGJzAVVhOdRcgM=; b=Dn19oVHRhyI9z8SLrPicRhninDKG8BnO9a0o/KM9ulRZdhfRSNjJSm0Rc+j61SaZTE o0o5XLi4KhPXAyEDkz0l0JXLN/neIM+mUbHue4v2oCsmxr6szKEABQ1Tl9+ArDy4to0Z LafyZ3+HAYn5wellh+HdsKZqBzKoCeXac3HAtt26sXDMzSicHMq+9NJDfCfCPNaOoG8I 0D1yHcIQO+YiHHTrzChP4knCLUNbCaN2lYJTh4/qQwnxCtkcrRqa7Z8URQ8AHuO5q2re nXxyCPI6C/6bz7XZ7YYAo17GuUNx5Wwd32G7Q4G1vCsqlYOV9m/BOghU+b5+2dsh0xdP mLdw== 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=obSCKk2me/00cEpyiCftGc/OOp6WIYGJzAVVhOdRcgM=; b=phl18hdeLjBNdpSuewW1E/y4xof2fM3AAIiIsu438/E6/knqHaycEmaZRIsl5Zfk/g bEcbUbDOfX3XfKjxKxIZPrHjdwt8hqSsC0kgmKtJFF6Qn08E63gUHVL6Cs1vQQRy7+n8 6P68zhkbWkWkMAuj/wo+H/f3Z8AvEtNg5xUSiI8ks2fyo+tpVZoGwXeuYIYiTtDP0Qkd KgQIMKk0gZ3mzLg8xj1iJjPU1EKS6owMSCYFjoOuNNJqjdpe1GqJaAFY6Z4GoFl3pzz/ Dj8jepHcQ1Z3pVJWiYZ0xD6OWZkG3HVH8mDwFeJxQXmR6PS5tfJEyEAb94JLYlEYIgM7 cAew== X-Gm-Message-State: AGi0PuYNgHAmOjSbzR1OiOBd3dMxyuh370bONttgecpqOCFU4B44HThK n/jqTL4S+VSSyELaim9xf2wdjh07 X-Google-Smtp-Source: APiQypI+rAq8eJ5GbY9KHUvJk/iDG3foPZfD8mGwmlHLDVneOMhV7voMAqRB7qOnNxNLTeynmHBomg== X-Received: by 2002:a1c:bad4:: with SMTP id k203mr14006080wmf.15.1588593421110; Mon, 04 May 2020 04:57:01 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 2/3] io/task: Move 'qom/object.h' header to source Date: Mon, 4 May 2020 13:56:55 +0200 Message-Id: <20200504115656.6045-3-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200504115656.6045-1-f4bug@amsat.org> References: <20200504115656.6045-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::342; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x342.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Eduardo Habkost , qemu-trivial@nongnu.org, Michael Tokarev , Laurent Vivier , Markus Armbruster , Paolo Bonzini , =?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) We need "qom/object.h" to call object_ref()/object_unref(), and to test the TYPE_DUMMY. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- v2: Add missing header in tests/test-io-task.c (patchew) --- include/io/task.h | 2 -- io/task.c | 1 + tests/test-io-task.c | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/io/task.h b/include/io/task.h index 1abbfb8b65..6818dfedd0 100644 --- a/include/io/task.h +++ b/include/io/task.h @@ -21,8 +21,6 @@ #ifndef QIO_TASK_H #define QIO_TASK_H =20 -#include "qom/object.h" - typedef struct QIOTask QIOTask; =20 typedef void (*QIOTaskFunc)(QIOTask *task, diff --git a/io/task.c b/io/task.c index 1ae7b86488..53c0bed686 100644 --- a/io/task.c +++ b/io/task.c @@ -22,6 +22,7 @@ #include "io/task.h" #include "qapi/error.h" #include "qemu/thread.h" +#include "qom/object.h" #include "trace.h" =20 struct QIOTaskThreadData { diff --git a/tests/test-io-task.c b/tests/test-io-task.c index aa8b653bfa..c8a3813d49 100644 --- a/tests/test-io-task.c +++ b/tests/test-io-task.c @@ -20,6 +20,7 @@ =20 #include "qemu/osdep.h" =20 +#include "qom/object.h" #include "io/task.h" #include "qapi/error.h" #include "qemu/module.h" --=20 2.21.3