From nobody Tue Nov 26 06:35:54 2024 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1709319433; cv=none; d=zohomail.com; s=zohoarc; b=RZQQVCP3IG9V55kKl61Wh32ZKoF5nC3V0EU4BXSsKK9tqapNhUfZM6UlYXZdwHPyrCdRexi4mFo6M8iI6/W48T0J45pEmbnau33DVbUs4fdSkFDKpMzwMZezsefWzX5bjhZb+aIyzPJPBDgOgD3/lOrOWn5+b84wUce5U8OWlog= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709319433; h=Content-Type:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=IgXDeRMCN6gCmWkZM/1UMPs+fYvQ58DJDLgGotCHQoU=; b=MkoucHf6Nfi6b1NfGmi4BeyJ7mUhc3VbRUFub9YlSDrZ2tOm0EdEr9DOgm41kMrDF/DIbtjM2zw5Wq03I7+3O7W0l95QUkJjbxMFrgQxOIwpexKvRMfHRs/9nxssh0RPgMR5oR4+5dE9CdUs28Bq5OxG2g53zGRwq7bbUYz2fio= 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 1709319433366813.4251222331811; Fri, 1 Mar 2024 10:57:13 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rg83l-0005Yi-C0; Fri, 01 Mar 2024 13:56:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rg83j-0005Y6-AO for qemu-devel@nongnu.org; Fri, 01 Mar 2024 13:56:39 -0500 Received: from mail-yb1-xb2f.google.com ([2607:f8b0:4864:20::b2f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rg83h-0003w6-Qr for qemu-devel@nongnu.org; Fri, 01 Mar 2024 13:56:39 -0500 Received: by mail-yb1-xb2f.google.com with SMTP id 3f1490d57ef6-dcc86086c9fso2671977276.3 for ; Fri, 01 Mar 2024 10:56:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709319397; x=1709924197; darn=nongnu.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=IgXDeRMCN6gCmWkZM/1UMPs+fYvQ58DJDLgGotCHQoU=; b=ei6rZeK4fSQNmV5YN0Of6+rwgfvBEJxUiAxqeAg8c4MNswBFmpMuz4J0+hjmbT9ne6 mhIr2MyazOhm4cKrH/vflTsO7fd8o4srSqLmvfCsIQYLNYWcCRDqpWUMtfqjoph5uSBe zJmcK1xDGGZd2bA0myCrVvv5MjXoKeUpOQIRk7hPxiSmQiOUw9/9Ss8JPonEc7wFtm8l aFRl8aqJpWW+HaFgfCx2ydkAyGyXvnR6UC64VVHMb51PyqbwWruluJZVptM6hQ04A0jR XIrguZ8BMSRyQvS/xE5a1fUe016uecJAoW/5scDpCWgXo1cFqwVvkM9/vIfhQsWH/yL4 GHBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709319397; x=1709924197; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=IgXDeRMCN6gCmWkZM/1UMPs+fYvQ58DJDLgGotCHQoU=; b=lxpxs7/dkWKoo/RvBSmKCBE64OtUSh1QlsfzuYxIpTete7Ixx/l7pYJFMuWZZhk/dZ AsegUAgRV6nJvIpdogib8xEHNgVCl+jdN/snT8tWHFiuU1mhhrFCVB0TLAgpRcNbf3pF cr22Pre/bwweFs2QbJPtxcOY+y6wl8pnsNAjEUjPput/PTZbmGOdbNv2JFB91ockczjG Ggv3raTuyxO3AfRYUZf2zaE/meeCq5ARA9xXqP6EIal7RKrn6QVYufCMcmZbex9g4ItS ONJ+SYCiKkwYtWUj+6cqYCC4nLpl4bbaVefsGgJGAS5iaGOsjBe7u4XgKnjc9kjA5vhj +3bg== X-Gm-Message-State: AOJu0YwUZJLoCerYmigUCilh8PXze7i88YNxcrVcFXrtQnMpgnn2Zc3/ FqvqZrPHrzcX24H8za3z4TamToCmywfAztR71dUdwhpZan5ojG0eaF9LgnPQTNKHK5mDyMCFUVk 0wCcXK0qkXKSRN9b6wcOfoSUZzTdschagDHCVIA== X-Google-Smtp-Source: AGHT+IHSy0nW8ADVzY828WRopg95rU3RPOm3abHUe1x0tp6I4vHg5s6e2ZjxPopzFsmYhzg6zX+Q7UPZvxrLl5mkUsc= X-Received: by 2002:a5b:502:0:b0:dc6:b121:d00c with SMTP id o2-20020a5b0502000000b00dc6b121d00cmr2464858ybp.16.1709319396713; Fri, 01 Mar 2024 10:56:36 -0800 (PST) MIME-Version: 1.0 From: Frediano Ziglio Date: Fri, 1 Mar 2024 18:56:26 +0000 Message-ID: Subject: [PATCH] Make some structure static To: qemu-devel Cc: Alex Williamson , =?UTF-8?Q?C=C3=A9dric_Le_Goater?= 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=2607:f8b0:4864:20::b2f; envelope-from=freddy77@gmail.com; helo=mail-yb1-xb2f.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1709319435048100003 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Not used outside C module. Signed-off-by: Frediano Ziglio Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- hw/vfio/pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c index 4fa387f043..a1522a011a 100644 --- a/hw/vfio/pci.c +++ b/hw/vfio/pci.c @@ -2558,7 +2558,7 @@ static bool vfio_display_migration_needed(void *opaqu= e) (vdev->ramfb_migrate =3D=3D ON_OFF_AUTO_AUTO && vdev->enable_ramfb= ); } -const VMStateDescription vmstate_vfio_display =3D { +static const VMStateDescription vmstate_vfio_display =3D { .name =3D "VFIOPCIDevice/VFIODisplay", .version_id =3D 1, .minimum_version_id =3D 1, @@ -2570,7 +2570,7 @@ const VMStateDescription vmstate_vfio_display =3D { } }; -const VMStateDescription vmstate_vfio_pci_config =3D { +static const VMStateDescription vmstate_vfio_pci_config =3D { .name =3D "VFIOPCIDevice", .version_id =3D 1, .minimum_version_id =3D 1, --=20 2.34.1