From nobody Fri Jan 14 12:50:11 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E08FA19467B1; Fri, 14 Jan 2022 12:50:17 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jb1Nn0FpBz4bHF; Fri, 14 Jan 2022 12:50:17 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-io1-xd2c.google.com with SMTP id a12so7303305iod.9; Fri, 14 Jan 2022 04:50:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sBWyNWym4b47/sALJBDbdkQl6DFcDEsXAx9PGLsQgl0=; b=RGV4ZLnlZX4tp6ELlbIhefJSPgFR9C5wia/xB7NjsMEmezJ40wNhFfaKynWdGWZdXV 6rPtJEzXn+UayrQP725PXv5o07e5vJ64nvSNeSgL+ZQ3SYRNZZwKQ1W2LBOcodOqfHJs xqYIOPwU9+1rj7LJ4OS9aNXHdsVSUn1/IzhJLlXPhM4jn1LR/IyowiG959GeHcGIbvK0 q4BS6tBsa8kau8RJCAVgkPczAZKRLylfvpHKVyNlt1cQDLcVnILB6Ebx+eSCbm2eWPnM ZRErDo1I0RDLDPh+p0/7fF9E/tgA9zxgf4pH/7z9Q82s5Qjgp5Ln3c5O9IDm5JkZn7dx KYKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=sBWyNWym4b47/sALJBDbdkQl6DFcDEsXAx9PGLsQgl0=; b=7SYxUVz0CXwKH5Sy6He03J/XEgi+BYODCuRtO/c4m8UPzOSZ+P74i2iN7JOAAxqRZW E8D64BKzJJD4Fc3dAFQqzyGA3WmNhS6a9w/Fo+b3k5mdeGgsOzw8dZGsRlilTGLx5h6s 01NLi3VJXS9Mj0b5MkV7gpK0ZjO8hmeyJwC1eUhOkZa3v1MrP/yTPsfeMEcarEzmRn9V XrLNVK+IQRUCerkgI+V0OxSfL/0extjcPdkawVuLlMP9l3yAGZ9NDqhcy9pJWXtyVVCl 8ZQpSUKR7y0f/yNZAttTjx4zJm7hg34aG4XvNSKuwDiVpnDKA3Fx/wTTG+UKPLVwEQld Kv5A== X-Gm-Message-State: AOAM530+054zx+SFDOXV0y3PvWyBUVR45w9H0hj0qVmKvAIleQZPjlXt iqa/Ca9KjR8Zq3I+pEUyGJgW6PC79EwimQ== X-Google-Smtp-Source: ABdhPJzpaof3dby1qet2YOVaqcUfHoG2IlZdwQFoTteAqLr2uQ6xCE/jVif73F5ZXF4RL3ExDQ9Kbw== X-Received: by 2002:a05:6602:1690:: with SMTP id s16mr4183854iow.35.1642164616308; Fri, 14 Jan 2022 04:50:16 -0800 (PST) Received: from ralga-linux ([173.18.9.215]) by smtp.gmail.com with ESMTPSA id m12sm4672573ilu.8.2022.01.14.04.50.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jan 2022 04:50:15 -0800 (PST) Sender: Justin Hibbits Date: Fri, 14 Jan 2022 06:50:11 -0600 From: Justin Hibbits To: Li-Wen Hsu Cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 62b4e25f058b - main - powerpc: Fix syntax atomic.h Message-ID: <20220114064954.4154a036@ralga-linux> In-Reply-To: <202201141112.20EBCQCf037364@gitrepo.freebsd.org> References: <202201141112.20EBCQCf037364@gitrepo.freebsd.org> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; powerpc64le-unknown-linux-gnu) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Jb1Nn0FpBz4bHF X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=RGV4ZLnl; dmarc=none; spf=pass (mx1.freebsd.org: domain of chmeeedalf@gmail.com designates 2607:f8b0:4864:20::d2c as permitted sender) smtp.mailfrom=chmeeedalf@gmail.com X-Spamd-Result: default: False [0.46 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; FORGED_SENDER(0.30)[jhibbits@FreeBSD.org,chmeeedalf@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[173.18.9.215:received]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[jhibbits@FreeBSD.org,chmeeedalf@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; NEURAL_SPAM_LONG(0.16)[0.160]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d2c:from]; MLMMJ_DEST(0.00)[dev-commits-src-all,dev-commits-src-main]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Fri, 14 Jan 2022 11:12:26 GMT Li-Wen Hsu wrote: > The branch main has been updated by lwhsu: > > URL: > https://cgit.FreeBSD.org/src/commit/?id=62b4e25f058b9820c8bf61e4664aa82428b0303b > > commit 62b4e25f058b9820c8bf61e4664aa82428b0303b > Author: Li-Wen Hsu > AuthorDate: 2022-01-14 11:11:22 +0000 > Commit: Li-Wen Hsu > CommitDate: 2022-01-14 11:11:22 +0000 > > powerpc: Fix syntax atomic.h > > Fixes: b5d227b0b27 powerpc: Add > atomic_testand_{set,clear}_{int,long} --- > sys/powerpc/include/atomic.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/sys/powerpc/include/atomic.h > b/sys/powerpc/include/atomic.h index 0d54ba4115c7..deb53173418f 100644 > --- a/sys/powerpc/include/atomic.h > +++ b/sys/powerpc/include/atomic.h > @@ -1078,13 +1078,13 @@ atomic_testandclear_long(volatile u_long *p, > u_int v) static __inline int > atomic_testandset_long(volatile u_long *p, u_int v) > { > - return (atomic_testandset_int((volatile u_int *)p, v); > + return (atomic_testandset_int((volatile u_int *)p, v)); > } > > static __inline int > atomic_testandclear_long(volatile u_long *p, u_int v) > { > - return (atomic_testandclear_int((volatile u_int *)p, v); > + return (atomic_testandclear_int((volatile u_int *)p, v)); > } > #endif > Sorry! I only tested with buildkernel on 64-bit. - Justin