From nobody Mon Feb 9 01:20:14 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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 ARC-Seal: i=1; a=rsa-sha256; t=1619280648; cv=none; d=zohomail.com; s=zohoarc; b=G0SIInT/FB3CxES0KZdEpODCQUay3D6azSEpUFkbTg4Pb78pNr5IQdEVWPpPA8XLFAcOmy3cRSuwR/rUyhM3/m/5P5hYqJm2F8d2QZvM3ObMGzoxOB/JK6s/Rr+kCJG2iLu+SYxScYx1YYvJAqyV9mjH7mq7YqLqNycbQMyqdh4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1619280648; h=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=Joh6sYPdqWoZ7daN4rswi5g+4s7Yq8+szdUVhDLRb+k=; b=mTHq1M1ETceL+6fk8TYqPmJCA8EsKXjtMkznx/0/ZdJOYB89hpTI5p/sX5Xsi109F7tt3vMcCmMEY9KwiZr2wAtWjmDujhcD94nQafbrxHvD2BLQKKxcZIXpTmIsArLjS72A1Ej12nt0FKlkODHHdidcGfh0nxw4SFIMvQVLyAs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1619280648702520.1818809360299; Sat, 24 Apr 2021 09:10:48 -0700 (PDT) Received: from localhost ([::1]:33604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laKrn-0008C3-Eb for importer@patchew.org; Sat, 24 Apr 2021 12:10:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laKhy-0005Ux-FJ for qemu-devel@nongnu.org; Sat, 24 Apr 2021 12:00:38 -0400 Received: from mail-il1-x12b.google.com ([2607:f8b0:4864:20::12b]:35528) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1laKhs-0004CO-Ul for qemu-devel@nongnu.org; Sat, 24 Apr 2021 12:00:38 -0400 Received: by mail-il1-x12b.google.com with SMTP id r5so2958080ilb.2 for ; Sat, 24 Apr 2021 09:00:32 -0700 (PDT) Received: from dune.bsdimp.com (50-253-99-174-static.hfc.comcastbusiness.net. [50.253.99.174]) by smtp.gmail.com with ESMTPSA id h4sm4055901ili.52.2021.04.24.09.00.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 24 Apr 2021 09:00:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Joh6sYPdqWoZ7daN4rswi5g+4s7Yq8+szdUVhDLRb+k=; b=TRW0WIeqxWrrgPnT04NJp/1anqKo1TMYzXFfJgkuQG/FrOGPWw4kVH/QK7TB0ZvoMz AS8ylNdYdJM9I8lMe0HFEYnETnkEtyVylM/x/PG1Y87d/khtyLNHRuMPkzju9vwyOpan LjMz20383lfw1Xl72LoMfB9NJ2DlLKr7+Up42PLPzQ1C5fbpBY911spPS6SRO8NSfb+Y ReXLsI6BUM9f+yVXXYXO2ccF0rdQBLH3LqCHvB+HN79Y+lBhWEnOXaIsfWELRrJlDHfU T6sLc205c0hemh7EOocF4TuVAqFc+26ByUH3+dHmDr2cJYzkDxScPhC3M0MptVnpM8qh m4KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Joh6sYPdqWoZ7daN4rswi5g+4s7Yq8+szdUVhDLRb+k=; b=Vtg0lNPpKTtStKpA24KW5Ia7LNbTr0GS1IT5qrOLNVw7BopbSOzJN5o+ItxtKeyGCx O1weXrVrDfeCfsstKrmlFIH5Qbp1E6u4SYXv+QVZspr+qn+5/NenYWqKnauVCIRlZ9fU DB334TxBJZt8h6i0HzRZas71BMSHEqraNigo9tGSikaXLsllfYktf/PNcAV4SxQlLn8+ 3biiVg2dLu5VKpxMQfh5x6tR41moqfJj4JOoypeqgQkRKtVCAKbTMlRSW5JMGxAKhUNZ 4Va5E4IbEAnDXDp+bB7HPEStkzAGh1C6XDvhWqm6sc/T9og1gLHL/WY51O7jDe0SN2Mo o0hw== X-Gm-Message-State: AOAM5335LLbjoUHo/kCLoJhKMYlUITRzysUp7vCBrtK/NpOxNIt4rk/k CLruPteClabWpXJUB2I4JRhzsCUKA2JG0LKx X-Google-Smtp-Source: ABdhPJy48POnk6Rh+Bz6JxDAKH66cM6zA8WzMEKPjHbid2tl4I02HC+xJT+nXPLPMJUTmNj4HK1Y3g== X-Received: by 2002:a92:7f08:: with SMTP id a8mr7300884ild.87.1619280031589; Sat, 24 Apr 2021 09:00:31 -0700 (PDT) From: imp@bsdimp.com To: qemu-devel@nongnu.org Subject: [PATCH v2 06/48] bsd-user: style tweak: keyword space ( Date: Sat, 24 Apr 2021 09:59:34 -0600 Message-Id: <20210424160016.15200-7-imp@bsdimp.com> X-Mailer: git-send-email 2.22.1 In-Reply-To: <20210424160016.15200-1-imp@bsdimp.com> References: <20210424160016.15200-1-imp@bsdimp.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: none client-ip=2607:f8b0:4864:20::12b; envelope-from=imp@bsdimp.com; helo=mail-il1-x12b.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kevans@freebsd.org, Richard Henderson , arichardson@freebsd.org, Warner Losh Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Warner Losh Reviewed-by: Richard Henderson Signed-off-by: Warner Losh --- bsd-user/syscall.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/bsd-user/syscall.c b/bsd-user/syscall.c index adc3d21b54..3352735c68 100644 --- a/bsd-user/syscall.c +++ b/bsd-user/syscall.c @@ -95,7 +95,7 @@ static abi_long do_freebsd_sysarch(CPUX86State *env, int = op, abi_ulong parms) abi_ulong val; int idx; =20 - switch(op) { + switch (op) { #ifdef TARGET_ABI32 case TARGET_FREEBSD_I386_SET_GSBASE: case TARGET_FREEBSD_I386_SET_FSBASE: @@ -271,7 +271,7 @@ static abi_long lock_iovec(int type, struct iovec *vec,= abi_ulong target_addr, target_vec =3D lock_user(VERIFY_READ, target_addr, count * sizeof(stru= ct target_iovec), 1); if (!target_vec) return -TARGET_EFAULT; - for(i =3D 0;i < count; i++) { + for (i =3D 0;i < count; i++) { base =3D tswapl(target_vec[i].iov_base); vec[i].iov_len =3D tswapl(target_vec[i].iov_len); if (vec[i].iov_len !=3D 0) { @@ -297,7 +297,7 @@ static abi_long unlock_iovec(struct iovec *vec, abi_ulo= ng target_addr, target_vec =3D lock_user(VERIFY_READ, target_addr, count * sizeof(stru= ct target_iovec), 1); if (!target_vec) return -TARGET_EFAULT; - for(i =3D 0;i < count; i++) { + for (i =3D 0;i < count; i++) { if (target_vec[i].iov_base) { base =3D tswapl(target_vec[i].iov_base); unlock_user(vec[i].iov_base, base, copy ? vec[i].iov_len : 0); @@ -325,10 +325,10 @@ abi_long do_freebsd_syscall(void *cpu_env, int num, a= bi_long arg1, #endif record_syscall_start(cpu, num, arg1, arg2, arg3, arg4, arg5, arg6, 0, = 0); =20 - if(do_strace) + if (do_strace) print_freebsd_syscall(num, arg1, arg2, arg3, arg4, arg5, arg6); =20 - switch(num) { + switch (num) { case TARGET_FREEBSD_NR_exit: #ifdef CONFIG_GPROF _mcleanup(); @@ -427,10 +427,10 @@ abi_long do_netbsd_syscall(void *cpu_env, int num, ab= i_long arg1, =20 record_syscall_start(cpu, num, arg1, arg2, arg3, arg4, arg5, arg6, 0, = 0); =20 - if(do_strace) + if (do_strace) print_netbsd_syscall(num, arg1, arg2, arg3, arg4, arg5, arg6); =20 - switch(num) { + switch (num) { case TARGET_NETBSD_NR_exit: #ifdef CONFIG_GPROF _mcleanup(); @@ -506,10 +506,10 @@ abi_long do_openbsd_syscall(void *cpu_env, int num, a= bi_long arg1, =20 record_syscall_start(cpu, num, arg1, arg2, arg3, arg4, arg5, arg6, 0, = 0); =20 - if(do_strace) + if (do_strace) print_openbsd_syscall(num, arg1, arg2, arg3, arg4, arg5, arg6); =20 - switch(num) { + switch (num) { case TARGET_OPENBSD_NR_exit: #ifdef CONFIG_GPROF _mcleanup(); --=20 2.22.1