From nobody Sun Sep 21 23:20:07 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) client-ip=78.46.105.101; envelope-from=seabios-bounces@seabios.org; helo=coreboot.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) smtp.mailfrom=seabios-bounces@seabios.org; dmarc=fail(p=none dis=none) header.from=flygoat.com Return-Path: Received: from coreboot.org (mail.coreboot.org [78.46.105.101]) by mx.zohomail.com with SMTPS id 1756882446855652.0498931203805; Tue, 2 Sep 2025 23:54:06 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTPA id CD5F54C400; Wed, 3 Sep 2025 06:54:04 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) (fhigh-a2-smtp.messagingengine.com [103.168.172.153]) by coreboot.org (Postfix) with ESMTP id E744940357 for ; Wed, 3 Sep 2025 06:51:42 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by mailfhigh.phl.internal (Postfix) with ESMTP id 072F414003A4; Wed, 3 Sep 2025 02:51:42 -0400 (EDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by phl-compute-04.internal (MEProxy); Wed, 03 Sep 2025 02:51:42 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) 3 Sep 2025 02:51:40 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1756882302; x=1756968702; bh=HaY8JCdjhNIlehKO7eq3t7ubeskKgCdejJ5ZYTQzY5k=; b= Kp+2abpqixODQynJIkfN1jRmYTwVqfWuo+h1ftzC0k8ZtYW8JMAb/tqtdM16Rjew XsMp7fApeoBitpBBldosSD2YUg8iaXLtWevwUnRACIJtMJZOw4N3i8KkTSNmeI+E Z1MDMoUb9amb7/s8TGqJmkTIWD6mjQNJDGdLB5KD0lXr9sAK51islh8+Pdv9Gdoc +h9nY0IkVFsbIMHEXidrAEKjIzHwTO0xkLaqcPuCU2MUMI4Q4xDcNaugHtXHTHkI D7LQA8axVTDRBmsLaXhBNMkZcrSpkNID6TKd9VYlJL75Q8GjavxRcCLG8WeQvKhJ 7t+kiqz6CejYKnO+nBMMPQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1756882302; x= 1756968702; bh=HaY8JCdjhNIlehKO7eq3t7ubeskKgCdejJ5ZYTQzY5k=; b=Q 8ci606+Jm+1z9f4kPC191Ag4hGIzBn2W/ZHJ1+qUwk5RqIQR7zI+McolPm5CzP9n rJWP1LLocOnAkJhHaUAESM5iXfHRuy2eb7SzOg08HWtqXUxjfPBwS3daRtZ+HKcy IQ6m7hoR1pBC6kBSjNhtH59XCl2iIN/onh/WgoxayRGjUtLBtqxhTR7WMlChX6rs 8vRjgJ5F8vGNzuzfuF0cyN2tNti9bMUGJSCA7mBJnJX29XNkZbFZ7r07ro+Koesq lWlAFMPlqH1WanUdQat0jWoirEdBs4h/woj/lW+O5XB8d/590sEtOctNf5WPPAtT l0tnbjPTXtoW2leG05BkQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvgeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucenucfjughrpefhfffugggtgffkfhgjvfevofesthejredtre dtjeenucfhrhhomheplfhirgiguhhnucgjrghnghcuoehjihgrgihunhdrhigrnhhgsehf lhihghhorghtrdgtohhmqeenucggtffrrghtthgvrhhnpedvkeeihfefveekueevteefle ffkeegudeghfdtuddugefhueevgeffgedukeejleenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehjihgrgihunhdrhigrnhhgsehflhihghhorg htrdgtohhmpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphht thhopehsvggrsghiohhssehsvggrsghiohhsrdhorhhgpdhrtghpthhtohepjhhirgiguh hnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail From: Jiaxun Yang Date: Wed, 03 Sep 2025 06:51:29 +0000 MIME-Version: 1.0 Message-Id: <20250903-build-v2-8-8e8916974f9c@flygoat.com> References: <20250903-build-v2-0-8e8916974f9c@flygoat.com> In-Reply-To: <20250903-build-v2-0-8e8916974f9c@flygoat.com> To: seabios@seabios.org Message-ID-Hash: S5YAXK3VOSWY4C5N3FBY77LL3OQALJJ7 X-Message-ID-Hash: S5YAXK3VOSWY4C5N3FBY77LL3OQALJJ7 X-MailFrom: jiaxun.yang@flygoat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-seabios.seabios.org-0; header-match-seabios.seabios.org-1; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Jiaxun Yang X-Mailman-Version: 3.3.11b1 Precedence: list Subject: [SeaBIOS] [PATCH v2 8/9] virtio-blk: Fix indentation for vring_get_buf call List-Id: SeaBIOS mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable Authentication-Results: coreboot.org; auth=pass smtp.auth=mailman@coreboot.org smtp.mailfrom=seabios-bounces@seabios.org X-Spamd-Bar: ---- X-ZohoMail-DKIM: fail (found 2 invalid signatures) X-ZM-MESSAGEID: 1756882449728124100 Content-Type: text/plain; charset="utf-8" Adjusted the indentation of the vring_get_buf function call to improve code= readability and maintain consistency with surrounding code. Fix warning: In file included from out/ccode32flat.o.tmp.c:83: ./src/hw/virtio-blk.c:56:9: warning: misleading indentation; statement is n= ot part of the previous 'while' [-Wmisleading-indentation] 56 | vring_get_buf(vq, NULL); Signed-off-by: Jiaxun Yang Reviewed-by: Paul Menzel --- src/hw/virtio-blk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hw/virtio-blk.c b/src/hw/virtio-blk.c index 137a2c3c75579beae69611e248002d48f947fdac..351692e22e6ebaf63626348e47a= 0f0533617325e 100644 --- a/src/hw/virtio-blk.c +++ b/src/hw/virtio-blk.c @@ -53,7 +53,7 @@ virtio_blk_op_one_segment(struct virtiodrive_s *vdrive, usleep(5); =20 /* Reclaim virtqueue element */ - vring_get_buf(vq, NULL); + vring_get_buf(vq, NULL); =20 /** ** Clear interrupt status register. Avoid leaving interrupts stuck --=20 2.43.0 _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org