Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3415202pxf; Mon, 29 Mar 2021 01:21:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwV9S3QDByZHnIT+4In1XHDd000Kgs/kQh7vPF8e/ktnFrF3NDg5ZEjSZg82Tj4lty1M0Py X-Received: by 2002:a17:907:3e92:: with SMTP id hs18mr26895013ejc.396.1617006093848; Mon, 29 Mar 2021 01:21:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617006093; cv=none; d=google.com; s=arc-20160816; b=jPgb09wA0Y+ExIN9Ay6BLmkyRoE/5WsJRasdyj9vscK3WNPs9AyRG1oGYbcXKnu/Ez BFHm3I6Tw/du8/Le4EJXl8ZTi33cwdFB2IfTF/6a4GwemyvYkSEw2pwb1Aaa/bNbcfR1 OxF21fgaVt+zoF5UyNyriRH7/UjigpNkUMvbvIn0Nn4gJQ/bsboEPpIoLG7Q+lP1WaOs CqrWznvx/Rcnm0e8NOwiKL8C/wuWU8iKUs+dew8ILWldZ/jSlkR3QgbWCDOrdORUJXgY pZUBfuS1UtrqiGwLGUfg3ZWpGN0XbXMWQLhY9Iv5ml0xUdKv2G0QcdN9AVX0EihmIl1T KA5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=oqsVx7Wa9B3yL9HqcD5l5oz8SUzRLcA2I7HU56LTzCk=; b=fNGOUPsx759eTxdl+kQHFKAxVIkzuC5F9xbzasrGZiLAcFyNeRJkO6vd/6xlRKlkyA CsMEmNYURupJy3Fu7a0/id0ZBka55kBYVwuVSNCpR1WmuDGP4mHVvQKW4QJ9pzr+mItD W+A5rzo1PAW9AW5ZKY9fKgrRJsS3dfMClS7XrsACUfws6FoPklyFkbMnXs4Jq2di1VKn YtW1YqYiWnAZDgU4ko1rCfGLDEPH7NUGfIqUn+YeDX+0V35YVVvZfoKDfHaMShZDtSE8 d+1xEB4kHmjCxu1gwMeNWWtjxg+r+zCN/rpPP+0oCY5CA3A2nIh6S4qMFpDQlSCCJESb 1Ubg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=GjY7Jcgz; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=OKoiPS7d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b9si11499622ejg.509.2021.03.29.01.21.10; Mon, 29 Mar 2021 01:21:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=GjY7Jcgz; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=OKoiPS7d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233509AbhC2IUN (ORCPT + 99 others); Mon, 29 Mar 2021 04:20:13 -0400 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:44119 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232832AbhC2IMS (ORCPT ); Mon, 29 Mar 2021 04:12:18 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 276165807E7; Mon, 29 Mar 2021 04:12:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 29 Mar 2021 04:12:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=oqsVx7Wa9B3yL9HqcD5l5oz8SUz RLcA2I7HU56LTzCk=; b=GjY7Jcgz1iDDJqrMJX7TE7dg8hs4xL+gJIns2/d0GYN Tu8Q64JfeinRu244wd6gRP4/2sFruUqc2Joo8Rn+OY/5o9+XbtPiZJP/CQSgwkeH a2LyYQrjOctpd4sfhSkemNYbQwlyw6zH1ZI5O+4NlT7YJKJYjxs7Jtyt+HAJkndU rmXh3MDfG1SuIgJlRIMdd1y/1opMPzDrNk9TpM2urYqSJ3cM42Bj9cBkZqxEJ2pT W2F+irrpWfwwhCEZI+gss+jfDHPynvAplgMbeGYZzRRmX3wKG3HTO/oIhFAAVoJ5 yrpWDiaiXd1lgL2Tm1+zdUYile5yXBv5rokcvIe0XTQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=oqsVx7 Wa9B3yL9HqcD5l5oz8SUzRLcA2I7HU56LTzCk=; b=OKoiPS7df+NHR9dTJqSc5U szrjSfirFd8YXJeVZ+TNqeW41QpaR26yLx+VmxRCTBwgnJMA/hPu/is+Niu1lOvS 3if1wOtng48/HhduveCnox3WYYNyvjjMv7ardEiVUJzfTH5i4du2NgkSJ8v7zM1S aHC2wMvCtObg3vkZuxUSQ497blWcGTItBRgzKKYw0FakGiBY9NsM8FX+SI7tZz2K I7Uax1tKwrIxNOTXpEAvdzvOdcNW0T3YeNgEXymwE8vBGpzaQy1LNnBmcn6resXr lRQ/DBcIjQzKeszAzF8Kni6WkfCOf+7Pa8sQo69Be4me5yQZWx3qEyQmJj1RN2jQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudehkedgtdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepleekgeehhfdutdeljefgleejffehfffgieejhffgueefhfdtveetgeehieeh gedunecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 657CF240057; Mon, 29 Mar 2021 04:12:11 -0400 (EDT) Date: Mon, 29 Mar 2021 10:12:08 +0200 From: Maxime Ripard To: Pierre-Louis Bossart Cc: alsa-devel@alsa-project.org, tiwai@suse.de, broonie@kernel.org, linux-kernel@vger.kernel.org, Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , "moderated list:ARM/Allwinner sunXi SoC support" Subject: Re: [PATCH 11/17] ASoC: sunxi: sun8i-codec: clarify expression Message-ID: <20210329081208.dptewcdyfmyiph6b@gilmour> References: <20210326215927.936377-1-pierre-louis.bossart@linux.intel.com> <20210326215927.936377-12-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zkapbnitichvusdi" Content-Disposition: inline In-Reply-To: <20210326215927.936377-12-pierre-louis.bossart@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --zkapbnitichvusdi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 26, 2021 at 04:59:21PM -0500, Pierre-Louis Bossart wrote: > cppcheck warning: >=20 > sound/soc/sunxi/sun8i-codec.c:488:28: style: Clarify calculation > precedence for '%' and '?'. [clarifyCalculation] > return sample_rate % 4000 ? 22579200 : 24576000; > ^ >=20 > Signed-off-by: Pierre-Louis Bossart Acked-by: Maxime Ripard Thanks! Maxime --zkapbnitichvusdi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYGGL2AAKCRDj7w1vZxhR xSEyAQDnB6Zo9u/iq0gHRIh8hjG34eg0RyxBVTAKQ3GY0LiocAD9EIAusS+HWyRH dhe6wdMSsmoo0o/6HynyBoKaPodJewo= =9pff -----END PGP SIGNATURE----- --zkapbnitichvusdi--