Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1385384rbb; Mon, 26 Feb 2024 07:42:56 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVFJk+VcaU0Fs+3r4PW03yAZ5kgO7ok/CMf2w+VdurIEVC5LJllnjq0Rrpuzvh9uYVl0zl9Mz8BgJj/xCTOJm2KvMV38AVDa3vhpJ5dcQ== X-Google-Smtp-Source: AGHT+IGb5yEGZ4gWwpPHbsERpCN01vMntBI1jPZZE/CuY+V+lXOCxTRrmZhvjyIahd5RzaHhkjcw X-Received: by 2002:a17:906:4f95:b0:a3f:52dc:6a21 with SMTP id o21-20020a1709064f9500b00a3f52dc6a21mr4917238eju.14.1708962176156; Mon, 26 Feb 2024 07:42:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708962176; cv=pass; d=google.com; s=arc-20160816; b=aruZSFhL49SdtKf5eS5eo8fRUUvUO6Kux3QeHpQ64nbnm+pwsndbzaQx0HusjxfW2V UmCYa08CRowyi6C4O8wO1+MIXYXVdEXoSoN9o57JLDfolGZsDbhEjoJVBT0X7N++uLSz jo3DbdCBRRbPgYPftdJaIeLdXbpMY6ndvZM4A0eUOJeEiJngJso8FbsZPAfeXqGMBjxI N0svwrkXXmWBTtinUhixrANX6rde4qJCv9/NWWEAfZxImgpalr2oMxgnxTVILRK9V0eJ tZ+en2v+NN4Q3YStM0TRvNIkUAQbS/kWERGduzqk6ne87I6AArl5IMfG88qf4BSZnjca t+iA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BkQMEPaP5E/5payRj3k5YxDMcz/B63qbSfHsoB/B3Xk=; fh=8yESsz9Is+41S/a+24RvcZuhy7YQ6A28PJ01JBm/1s8=; b=bcrRDBDuOWbMPVnjaS3jgwBNk3/eT1mJjJpJnk+IkfTcJDi+Wfd45yj/0ATByHI4nc LT8GsMHUKV23KxF34oTmw5a/frlircpjbHqOtqVmuOg89cFd5dHXpCri4OtYNgPk7JEv qqJsrEmnjg5Zo1gzsnRRNHWGt1uNTWbVEQKL38xwk0cGJ9MeO4fk3oLbjitxYDa5fhaI UNUPrB/QqSRWhi4BKVMyz/97N+TWjXfO0S9XoEffnPprPmz0XsNY5vN5ucdtzU5g6CKc CtcIT5OvYK/1sqk5vKa8ieGi9dy8N01Jfi+Itkr7Uu7+dsGLTSy5Osu0SImEbNu+Cbfk +q5A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UPxjAqrN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-81827-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81827-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id p22-20020a170906229600b00a3d18b8d397si2278912eja.643.2024.02.26.07.42.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 07:42:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81827-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UPxjAqrN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-81827-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81827-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D7B8C1F23096 for ; Mon, 26 Feb 2024 15:42:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B096E12BF2D; Mon, 26 Feb 2024 15:42:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UPxjAqrN" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D86EC12BE9C for ; Mon, 26 Feb 2024 15:42:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708962157; cv=none; b=d4EkRDFmEUDh96aW/fuqHg/i/gCXpgiJwDkZp+NAGu9Nzbp5gFKcmUaOTvi9BYO6gl6d7NRAr8RaM15vxaFb+FEwpy5h9sZf75JZEL3kM6brnRtZhVYQQWIwUHFcvsFeZouUFjHTKyLrO0NOY90XD8jQ2T+vD2+TF5T2P570pDQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708962157; c=relaxed/simple; bh=eL3Sq0didjuZIcQ0uUGAVgBF4oFDIInfGkYzwsFtZ5g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RDeO+j/NXLywLvIqKc5xZfbR5yECAcHNONEPp/T+eLOhCZqrBYdQ7x4RjqXisn3DEqIvRSFSkb4xcATtCk6H4F4rOnCJfC4DXAt2f5SHs/40WCi3dX4QHwv4N8n4gMEU0b7pGvY3brvqSHkizYPj1SZXYXuUOXVsQ1nDRLSpuRU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UPxjAqrN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4EBAEC433F1; Mon, 26 Feb 2024 15:42:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708962157; bh=eL3Sq0didjuZIcQ0uUGAVgBF4oFDIInfGkYzwsFtZ5g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UPxjAqrNQZU6c56kJP7tvRbFozDBHAeT/Ki1LV0YiumSxdtDrvz13EA0H4KhswR51 Y42pqnYvuSEXWhAKu4zJrAmA8dw+IOspFIpDgy6jeF2aEgXXVp9/fvvcOsIv/jBcUy YhIhoVAOY6nJfSFI+2lm3thxc5OE85qOK+MQehEgLbvRGa+Svu8CDqcfTDADH9x6rR pg/tC6RN35XNFt+HtOLHmfFbl2MXWFx9MpCZtMhxfskVDrRf9UbmgltQResfhSEAAo CKKCen9AItd4FaRcKTIgeh2LYngENnSn7DBcZla/oSg1zzI7SZd/MaNh1n4LdxQMAr w/AWH3h/w19WQ== Date: Mon, 26 Feb 2024 15:42:33 +0000 From: Mark Brown To: Jerome Brunet Cc: Liam Girdwood , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org Subject: Re: [PATCH 6/6] ASoC: meson: axg-fifo: use FIELD helpers Message-ID: References: <20240223175116.2005407-1-jbrunet@baylibre.com> <20240223175116.2005407-7-jbrunet@baylibre.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="US/dKDUluQQUZ0hF" Content-Disposition: inline In-Reply-To: <20240223175116.2005407-7-jbrunet@baylibre.com> X-Cookie: Your mileage may vary. --US/dKDUluQQUZ0hF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 23, 2024 at 06:51:12PM +0100, Jerome Brunet wrote: > Use FIELD_GET() and FIELD_PREP() helpers instead of doing it manually. This breaks the build for me: /build/stage/linux/sound/soc/meson/axg-fifo.c: In function =E2=80=98axg_fif= o_pcm_hw_para ms=E2=80=99: /build/stage/linux/sound/soc/meson/axg-fifo.c:149:28: error: implicit decla= ratio n of function =E2=80=98FIELD_PREP=E2=80=99 [-Werror=3Dimplicit-function-dec= laration] 149 | FIELD_PREP(CTRL0_INT_EN, irq_en)); | ^~~~~~~~~~ /build/stage/linux/sound/soc/meson/axg-fifo.c: In function =E2=80=98axg_fif= o_pcm_irq_blo ck=E2=80=99: /build/stage/linux/sound/soc/meson/axg-fifo.c:207:18: error: implicit decla= ratio n of function =E2=80=98FIELD_GET=E2=80=99 [-Werror=3Dimplicit-function-decl= aration] 207 | status =3D FIELD_GET(STATUS1_INT_STS, status); | ^~~~~~~~~ cc1: all warnings being treated as errors --US/dKDUluQQUZ0hF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmXcsWgACgkQJNaLcl1U h9DIlgf/fnA/FeDBqMLROkPy3MIwMuQ3ZxxLtkBhK7VmoZBxa9cH7MWNDQ84B1pt Ed/CFYuM8JzavBhDYl1s+qGi7RRsz36Zk/FAPftRdm/zCTl7L0oXH5a26CgU2WHJ DiB6tY1QkkAFWj6nHAlNlNUeIkAXBa8py0pOOv7JKNGiGMVZnEcsRZKtgyhbUdK7 jvUE3YvTXnjxDtBVKat0fe2/rOVqtefqpnKL94l7BkjlIeRgJ8DmWfGH6gibUm1t GFY9mTOE5niV34ypQlId8dCtJEP6tbplAssdgnw0GbMceZ/xlztKtKNy3wMv+W3m 27/rAv8zQA4CUE078XdfAcxYGntAug== =GD+7 -----END PGP SIGNATURE----- --US/dKDUluQQUZ0hF--