From patchwork Thu Jul 4 08:47:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Zhao Liu X-Patchwork-Id: 1956725 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=abdLOnLY; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WF8zf6XqPz1xpP for ; Thu, 4 Jul 2024 18:33:02 +1000 (AEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPHtc-0007L6-R6; Thu, 04 Jul 2024 04:32:52 -0400 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 1sPHtQ-0006oj-GI; Thu, 04 Jul 2024 04:32:43 -0400 Received: from mgamail.intel.com ([192.198.163.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPHtM-00051M-DS; Thu, 04 Jul 2024 04:32:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1720081956; x=1751617956; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XmoMpvmKAHPv2PSXeHNReCSPQ/rSyVyEIcqFuYeye7Y=; b=abdLOnLYMzUbFuFDpsCriOCFVcGrAiwfjraXu6DY1Ys91yLTKLE++UUo HczdQvNI51ikTlzlxpCqaCpuTj/F0RTXdNfAAhNomm5HF4yIxMvM1RcW1 ik4uyGL4RuxFg0d3yYhXyzGM5hc5stejgHxoNrtouHcXpj+tg9CMaBpDJ 9+t8qw4O5oQTbGcvPvd7dkjJYS1ajYVOKoZtt1tBjvXRxxPp4nw8caTFq IX+dGJoHBGFoH+9Uq7IYuO7+HIKrF9ychDh5M0Q9JQZCYqG2zIQcP+bSV evbOORuxTCqjncE8nlzPkEjtSMNza7QmIETcMHjHFC8vJj3ybQB5NNrJ6 g==; X-CSE-ConnectionGUID: HHR55cafRiCnzdMOXQRKmg== X-CSE-MsgGUID: l7gPOqTfTBW/Ac5hMDfyzw== X-IronPort-AV: E=McAfee;i="6700,10204,11122"; a="17215713" X-IronPort-AV: E=Sophos;i="6.09,183,1716274800"; d="scan'208";a="17215713" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jul 2024 01:32:30 -0700 X-CSE-ConnectionGUID: WAglHtl0TcCefB+5nwVypA== X-CSE-MsgGUID: P3Ew53cGTHWqI+MC9u8mwQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,183,1716274800"; d="scan'208";a="46597254" Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by fmviesa010.fm.intel.com with ESMTP; 04 Jul 2024 01:32:29 -0700 From: Zhao Liu To: Michael Tokarev , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org, Zhao Liu Subject: [PATCH 3/4] util/oslib-posix: Fix superfluous trailing semicolon Date: Thu, 4 Jul 2024 16:47:58 +0800 Message-Id: <20240704084759.1824420-4-zhao1.liu@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240704084759.1824420-1-zhao1.liu@intel.com> References: <20240704084759.1824420-1-zhao1.liu@intel.com> MIME-Version: 1.0 Received-SPF: pass client-ip=192.198.163.17; envelope-from=zhao1.liu@intel.com; helo=mgamail.intel.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Zhao Liu Reviewed-by: Peter Maydell Reviewed-by: Alex Bennée --- util/oslib-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/oslib-posix.c b/util/oslib-posix.c index e76441695bdc..b090fe0eed0d 100644 --- a/util/oslib-posix.c +++ b/util/oslib-posix.c @@ -263,7 +263,7 @@ int qemu_socketpair(int domain, int type, int protocol, int sv[2]) return ret; } #endif - ret = socketpair(domain, type, protocol, sv);; + ret = socketpair(domain, type, protocol, sv); if (ret == 0) { qemu_set_cloexec(sv[0]); qemu_set_cloexec(sv[1]);