From nobody Fri Sep 19 05:25:56 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1665665137; cv=none; d=zohomail.com; s=zohoarc; b=Ec7jnucdaUEqUWiVR9P+rb2JDS/Luj9whshy+MFIVzY38c7vw38tQ03LxD3H2A9JMwTF05vMSIU5cXVPBB1D4DZr4AW6tz1kMZwUsAmeJVSuWcXUFNd/+npNq1GVoE7HqAPNm6gL0O4qcYhLjg+eFgAWr3j9Ow7/iaBWGi15jQQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1665665137; 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=YIetAdnpI8D+qyv00c/9xWcDCY1sjCYTaxA6hToEUXQ=; b=NG9m+lMztXFwgULoTXErsYgUNUdt1/aRjxgEqBGaE/DGtCdgk9Ef1aw3fyhDzTKaVEbMlKFuyjm2VxbSmia0JpeSHNwplZhbV/U1aTOT1OFlz53hV33zRer3mA+1yLclax2qYdmDtt3Lz9nryBJz88h3NPFV8u0G+Ws6OdKU+F8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1665665137410114.35337248891267; Thu, 13 Oct 2022 05:45:37 -0700 (PDT) Received: from localhost ([::1]:51438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oixai-00080w-0x for importer@patchew.org; Thu, 13 Oct 2022 08:45:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oixSt-0001Ue-De for qemu-devel@nongnu.org; Thu, 13 Oct 2022 08:37:31 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:44488) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oixSp-00040e-Kh for qemu-devel@nongnu.org; Thu, 13 Oct 2022 08:37:30 -0400 Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-582-nrIF_gWVMieMiZ9XNfQ6rQ-1; Thu, 13 Oct 2022 08:37:21 -0400 Received: by mail-ej1-f69.google.com with SMTP id ho8-20020a1709070e8800b0078db5e53032so829038ejc.9 for ; Thu, 13 Oct 2022 05:37:21 -0700 (PDT) Received: from avogadro.local ([2001:b07:6468:f312:1c09:f536:3de6:228c]) by smtp.gmail.com with ESMTPSA id 17-20020a170906219100b0073d71792c8dsm2926580eju.180.2022.10.13.05.37.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Oct 2022 05:37:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1665664643; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YIetAdnpI8D+qyv00c/9xWcDCY1sjCYTaxA6hToEUXQ=; b=SgqAg+T9kPREgdbYL4FQ1YxbLsDn1DenuDKqnSJIXDIu+fprDTfYduA+7wbZfUBeAoEofp v+M1qEG+ZCjapvJqkRJsryKmULC6tIzGhyrYOQ/XMTYi8I0PxUktbeSWy4/1FQAgQs18xS GJPFZm3T7r0x7phbnozBcA0vDcg5hw0= X-MC-Unique: nrIF_gWVMieMiZ9XNfQ6rQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YIetAdnpI8D+qyv00c/9xWcDCY1sjCYTaxA6hToEUXQ=; b=O9yYl1WIsq8TpJEt0A5Oy0kTVjv+WUMsUTq38CXnfwzjHYBe5qtthvNsg0hyIBsSJ0 n8T04JtvMoQ975VIU59kuCTX1k2YPlArDFGOdes79PJ2HfKnZV+TBTnNPFrcsfDBC+XY oYvDwru59b2hWwYvQyEaO8JvthZX+N76JIDApjAjPXI5u8j2n9OfCKgjWB00mos3IR2n u4G7Bwx6Vx/i8MhjI9+HDSW0352XgJwL1svRxqKXNQkIl9u2wdrLtfj3dxUzY+IfJkyL o7gFxNxdVJytHow4GDjao/Y4iP0S7E4y0YNoWqd2XdR2W4KHLHZWfXWVtc1vsLcnMhhF CEzA== X-Gm-Message-State: ACrzQf0wSVnfMuV9tZmByDFiHjHA7dxXXgWY4lbG++B6MdE9Nng+88QD le2NaD7909RjtXfPZ1pIcWVsPcJIp0tipwGPrFxDjg/+bhd53yNtVClefnGjzzqduatOicElJiS NSjMtDU/6+3hNbiIc8lFsv3uSz7LMezZ9A/9PXD8R0jyTJX45mgkumYek6oF6CS4ha/U= X-Received: by 2002:a05:6402:1e8d:b0:454:79a9:201f with SMTP id f13-20020a0564021e8d00b0045479a9201fmr32479933edf.176.1665664640416; Thu, 13 Oct 2022 05:37:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ZCDpKcMMuag0627gqqxTmy9QJiqwkJHvwyVIlmk2zYXo3/hRdeQ9sskHtjFot4iGjaT8zqA== X-Received: by 2002:a05:6402:1e8d:b0:454:79a9:201f with SMTP id f13-20020a0564021e8d00b0045479a9201fmr32479915edf.176.1665664640152; Thu, 13 Oct 2022 05:37:20 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, afaria@redhat.com Subject: [PATCH 02/24] block: remove incorrect coroutine_fn annotation Date: Thu, 13 Oct 2022 14:36:49 +0200 Message-Id: <20221013123711.620631-3-pbonzini@redhat.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221013123711.620631-1-pbonzini@redhat.com> References: <20221013123711.620631-1-pbonzini@redhat.com> MIME-Version: 1.0 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=170.10.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1665665138202100001 Content-Type: text/plain; charset="utf-8" From: Alberto Faria Signed-off-by: Alberto Faria Signed-off-by: Paolo Bonzini --- block/io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/io.c b/block/io.c index d30073036e..236b12da2a 100644 --- a/block/io.c +++ b/block/io.c @@ -2739,8 +2739,8 @@ int coroutine_fn bdrv_co_is_zero_fast(BlockDriverStat= e *bs, int64_t offset, return (pnum =3D=3D bytes) && (ret & BDRV_BLOCK_ZERO); } =20 -int coroutine_fn bdrv_is_allocated(BlockDriverState *bs, int64_t offset, - int64_t bytes, int64_t *pnum) +int bdrv_is_allocated(BlockDriverState *bs, int64_t offset, int64_t bytes, + int64_t *pnum) { int ret; int64_t dummy; --=20 2.37.3