From nobody Fri Dec 19 18:52:08 2025 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C8BC72FFF90 for ; Thu, 4 Dec 2025 18:46:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764873972; cv=none; b=mNO/aNu0sR9ue5CNRXU41DgeYBvvmoKGFf6ADrG2qOl/2xZ0L/v92PIgjGAETILhG+icH8Wk4RqtKliKJw5j4XJKYfZ+LWur3Z9IdgNjBGZgBXEfGPLG5b2xjLAg78cFF7aEJbwlrZLcRGzC2m/Tac/G6YrB2NV9G3KFQj3tNpw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764873972; c=relaxed/simple; bh=XOvFcvXWHbbIZiYga991Ws6FE79FAxnpaQqR3UetRiw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ioFcswN5t4LwPuWUMD/7Wzfjl6U7LjCHZeYr+Av9iFK/0+KXxLHThHgGvk2+xkF5Ey1u2546nt2xBRYXw4KsQAk2bbIgJULHgUCjq6qnESVbXP6VUI/IMNgwTUk89cwZICUODB3Hrcmwe/P6u5AiH3LrWwBWE0Bzu20ExmiWHsk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=a3MubnOo; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=bXkql7GV; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="a3MubnOo"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="bXkql7GV" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1764873969; 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: in-reply-to:in-reply-to:references:references; bh=2bO62dhGLwejL+h82rjog5nZZiQ4P34iBuwcHHX4kxQ=; b=a3MubnOowFL9BD8UDXn7Tmg12uoKAmHdke13dXWByr5dgzHF2hi07stOSmarRpqz8zyS8g 6XnmQMC7Aod2OhgahpjKbPwKZq7hhW6XhimywE5ft2yRZAslMZ0EzD7CiPuvI6LoOSjOz4 II8nt+ZeVcwiBdJRBfumJqctVjUwCRw= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-50-vhp_4GwCNp6WwlwJyNEIZQ-1; Thu, 04 Dec 2025 13:46:08 -0500 X-MC-Unique: vhp_4GwCNp6WwlwJyNEIZQ-1 X-Mimecast-MFC-AGG-ID: vhp_4GwCNp6WwlwJyNEIZQ_1764873967 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-4779edba8f3so8142915e9.3 for ; Thu, 04 Dec 2025 10:46:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1764873967; x=1765478767; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=2bO62dhGLwejL+h82rjog5nZZiQ4P34iBuwcHHX4kxQ=; b=bXkql7GVIFgs+IBR/yT4MDir104Jj7XAL5/ax+SZU1csSdIiukhg5a5f8UYLmU+5jv 63mgSRUxlaHgPydhoU9hCoYQXK8yPditcEQ4eEWnsOii3YJcC5JTuJ7QE4qmoLljd9fy imFqRG76GE9AHmMvdeTiLYdfDu7N/LjVWSatcsMRXzhi68Y2DC0jbjNiKsprc7Bg71TK AXyhzm6fpknhvYU2FnCMClw5Hc3LbS41KDMlWJjA/tO9MNB+bisT2pGy4Y8jo4DTdzAq F4qwY1k0mbB7h5xPptQVx+PDQv1oVAQcPiFecfziznA1PL6N7ZJgrX3/WLeBvVfF+jt8 oRZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764873967; x=1765478767; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2bO62dhGLwejL+h82rjog5nZZiQ4P34iBuwcHHX4kxQ=; b=Jum/z1tJ8EOAf5Zoy/u41xL8xW9aa+yEw53Q3do82yg0jyW0wHEKowaZ9VAW3JX+dp BUxYGIMk2ZR5mB14S74MA5dG1j5jW+ZEqco2O7lW7K9C/AEAHmVyllJAGMDQwe3KckMS M/jezKL1VTEIpQCHHdCISJk/4ACFXvZhORHrJ+zJ+2oUCqIm9g1RmcukMS9kTUiguzEY SGG/rzw6F42LQgg9PZI560wMmA4ZG70Md23pXM+rMQ81bBQ1JKlqTjEM4Lf5qjDk2e4q IF40pGxYAObq75Ak+G4pJJsTd/kscl4+Eu89etqyQC3gHXMWVfrZzlK10mD85qlC1bi5 kPnA== X-Gm-Message-State: AOJu0Yxn7yy5fOyVSoXJ5WwjDEsQhL68NvPc9l2f7mArkAYwo8I15nFJ Mj6L2CQhDVpmmu1e/F9DO4Ang4isUQp9HsecckyElu6lpnng4IFV17g21/Zmw9KypQ08DsJ1p6k 62ve9pKIKkZ+vNuBk3IqKY6KmlGj+6nTogl5515i52J3yxrxprVIj3G04TcfHu9oejlZuZg8+my FRfM/5rWXDoLUWrP9xrM8jNXjoaO+ZV/5wLqRuJ07cb9c= X-Gm-Gg: ASbGncsd0XtLsj/738GIoLookq4/eJS0sHWRcvx/387SSz9vBCFRq8k7TBDakQofnIL o5QGJL51AQjzFdOzjzNo+PTycjF7zwFQjDwCmULR4vINm+8OsJrmziz+zgPMzfaZTVE5rOPo8Ly MU704YQLleI+44fAILYAiagUh3vMwfB9gNQ0ZGKf2Ep41mJjjEggD6HBCP5o6fzDnVC+h3S8/El VwLPxepVTDKBVawMch+wNykinxuXg4tdeUic2cnrmsKQvjsqSkXJ+0BQIQfNnTfFe1OP3KBKRe7 7DpQ+eQtoioBen0iDjNRQkDolPS7gBwd2F9z43FdhZCADeXROzTq8K2jkXyitHxcWk+Iau0bjcw = X-Received: by 2002:a05:600c:1c0d:b0:477:75eb:a643 with SMTP id 5b1f17b1804b1-4792aedecf6mr82009605e9.4.1764873966692; Thu, 04 Dec 2025 10:46:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IGP0gDv4wVR+hz/ewsHvf5Y0f/iEBUayPg9Yadkr1yyJv/LA/EfgN5XPvfNHZhBNUXCLl+L5Q== X-Received: by 2002:a05:600c:1c0d:b0:477:75eb:a643 with SMTP id 5b1f17b1804b1-4792aedecf6mr82009265e9.4.1764873966171; Thu, 04 Dec 2025 10:46:06 -0800 (PST) Received: from redhat.com ([31.187.78.57]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47930c90e67sm44952945e9.12.2025.12.04.10.46.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Dec 2025 10:46:05 -0800 (PST) Date: Thu, 4 Dec 2025 13:46:03 -0500 From: "Michael S. Tsirkin" To: linux-kernel@vger.kernel.org Cc: Jason Wang , Xuan Zhuo , Eugenio =?utf-8?B?UMOpcmV6?= , virtualization@lists.linux.dev Subject: [PATCH 02/14] virtio: make it self-contained Message-ID: <9171b5cac60793eb59ab044c96ee038bf1363bee.1764873799.git.mst@redhat.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Mailer: git-send-email 2.27.0.106.g8ac3dc51b1 X-Mutt-Fcc: =sent Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" virtio.h uses struct module, add a forward declaration to make the header self-contained. Signed-off-by: Michael S. Tsirkin --- include/linux/virtio.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 132a474e5914..3626eb694728 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -13,6 +13,8 @@ #include #include =20 +struct module; + /** * struct virtqueue - a queue to register buffers for sending or receiving. * @list: the chain of virtqueues for this device --=20 MST