Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp5641680rwe; Tue, 18 Apr 2023 09:23:42 -0700 (PDT) X-Google-Smtp-Source: AKy350aoKNCnBmaawFf4ABqwFQjRk21QATiom6dVpwwJUv0fd8yoxiEXEYZ87TovVsgFUsV3e9gD X-Received: by 2002:a05:6a20:734b:b0:f0:eb30:d49e with SMTP id v11-20020a056a20734b00b000f0eb30d49emr291303pzc.39.1681835022455; Tue, 18 Apr 2023 09:23:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681835022; cv=none; d=google.com; s=arc-20160816; b=eTDC3jdAhxx7hoig7/BpKT8N0MT0uk3wHMI5Umo+jp2LarTOwugrWUmFCRFULnusze ncXPcGFF2zrNn26n6tPdHaBq/8wzmF29NuRPZgCYDRwy3ZaMNqBgLCMHTbe+cRzgpZTJ NS/yRf9fVnf96sx+aECsQ4ZXJZvl1OYWyjcRFW5pLkBHfIhh42YysV2i1oIvjACgiVAm yEO3K5aFI/ic3M2/zFGixwsyMgvadGoOwANvp4kHlG6UCntc/21WIgiEfHdz7xTZGGwJ 0s3erZlMvy9jnjdMzXng6yr4NKTvKrbGvflTXKmwWPMFeTy/PrSDONwSlbBsu+0QUUQz Y4pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=AZTQR9XBU/wDMtw1o8TcTaK6qQOccntIplWReq0cbPs=; b=YVyaAwRwd0EcoWsRTSlct7xjcdNUwTi9aov6ALM+kNpwUbO5uN81/hT1I7iD6GbKCZ 2ltprRsvjFPTtwA30w33VJlmpRMK+z9K4T2wmnWYDcopG0xbQp6yUzEHQGkT68IYScTc IkTteOspAuCZ3UzN66/M8rRcw+KWRHKgRpTi9SntzkJ9jTTaZMsNerHKDYBEH6L2vBGz EgD5vgUafSuSFlsvFWo14jqOlwIWXQvYhv7hPPKF0eXh3GLPnZuyryP8ifUXjpA4jOc3 P90MlB26dKcAmVfenYKWEXO8I/y8IcFGBej7MmC6ekIPEf/g0wfB3PR5p9FYvAUMGxUJ UR4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FAjdS1X1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j3-20020a63e743000000b00519d9206ff6si14376602pgk.314.2023.04.18.09.23.30; Tue, 18 Apr 2023 09:23:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FAjdS1X1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232286AbjDRQVb (ORCPT + 99 others); Tue, 18 Apr 2023 12:21:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231895AbjDRQV1 (ORCPT ); Tue, 18 Apr 2023 12:21:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C272BB77B for ; Tue, 18 Apr 2023 09:21:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5C3B76366A for ; Tue, 18 Apr 2023 16:21:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BEF6EC4339B; Tue, 18 Apr 2023 16:21:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681834884; bh=KYDGQ9LC4dPkxsMX1LMYuetVwQ+YdQq+9bWbGBBitMU=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=FAjdS1X12XnDLtdc2vxXiUiZEUSoRx5JQwgiqbIyXf5jNtZK+REYZ4mBKDmCmoQv7 0KQmMicHUPbbSHyIqfCjadsugLbUtHK5hG6ze75e48XCs0hBYzs2vlQGEz/NeEI71e mZT5BYh4uh7RuG4gYtpS5A0risLPIElTJiDQsOi86KTj2r78ALN7wymPglJaVKblWW Axe0NQA1J4qRT6ZluipdMEvB9XEtGJrz16VypAWyMbgieK6a3kn+G0kgMMsh8ZWgl/ yVAFnvVZfNg7/idwIYz55Oh9jLxw9/CRXRO+7yKAv+IAmnSPzBtEFjL4DTLRlbJAEx De1HdNSCQZeOA== From: Mark Brown To: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, nathan@kernel.org, ndesaulniers@google.com, CTLIN0@nuvoton.com, luca.ceresoli@bootlin.com, peda@axentia.se, javierm@redhat.com, u.kleine-koenig@pengutronix.de, ckeepax@opensource.cirrus.com, Tom Rix Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev In-Reply-To: <20230418120955.3230705-1-trix@redhat.com> References: <20230418120955.3230705-1-trix@redhat.com> Subject: Re: [PATCH] ASoC: nau8825: fix bounds check for adc_delay Message-Id: <168183488148.87933.1461165483240440828.b4-ty@kernel.org> Date: Tue, 18 Apr 2023 17:21:21 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-00303 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 18 Apr 2023 08:09:55 -0400, Tom Rix wrote: > clang build reports > sound/soc/codecs/nau8825.c:2826:31: error: overlapping comparisons > always evaluate to false [-Werror,-Wtautological-overlap-compare] > if (nau8825->adc_delay < 125 && nau8825->adc_delay > 500) > ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ > > This is a bug, a logical-or should have been used. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: nau8825: fix bounds check for adc_delay commit: 5f3d94eb7ae877430d9fe6a9aae7dcef6c3e5fea All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark