Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4833048rwd; Tue, 23 May 2023 13:17:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4HHM7a4WJuFD7HNKIxntEetNjLsYrIVq9tPjCbskOGLn+4wJo2NUUtdJs7613wAI6se/N/ X-Received: by 2002:a17:902:ce81:b0:1ac:61ad:d6f2 with SMTP id f1-20020a170902ce8100b001ac61add6f2mr16518805plg.5.1684873045487; Tue, 23 May 2023 13:17:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684873045; cv=none; d=google.com; s=arc-20160816; b=iekkEH8rNVT/MWww/lVWCRg0w3CCUcp39WGH7zP0vRMHZY9+W96Tz9Rax5GNTbUBn4 1cZjq0HRcHDlQmaE4RNryPUyHxWScOb1ZgI2p3K64zNTb+4q4sZE46TgRm9Dfff8JTAP iomss3mtE2Thtlmnq/UKHTUh4KqFkN2scaSV+89D5FAvFe7rXeIQ2WwtFu7RMzMwP87a NvYQnKqFJA2Um8DboM5Kd7JBIq6rGASGkUAVYbSgOd8+gw3YJOAjmf8OVEizuYUK2zI0 qyzEMhg9wYg1lns7L/GF1gmZ3QOotUl5avfrwti4mPnTLCC3quK4VXZk/Up4HdhDAji0 HNew== 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=ArMp5enfRpJZ8yCkr2yhm/sF3r5am+YhO1FIVTEbzg8=; b=pV2vm91MtIOaok37kJ1BG1O6+0x4AUGOE6G8OXSKRlR+nIzsBUSw1348NXw61ltBZg IKfhC5eb8nI9/9iS8RQ9FRuauHEUhWFF0YWgqgimFkuFMu5ViM4QRmIDc3HFZWKJsh8z Htxw7LpkpAqWleheZo19+8zmG+uW6ptnpCWj80h9LcAQebKnYUk4UwIscuHKbKPdQoJ0 lZDme0pLhcVF/JrBcSdRKTGZjeZ8QxzUwCsjeH5B4RLQzRtJK4184ebH5C64w0SlyEaY Yts1bKbggWHyCk+6wWxPsGEvQG+wDHNzQregh0b/8zaTI/7ePNuByhNQViG2srWxxosb X2fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p9UHvbQk; 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 jb7-20020a170903258700b001a6919158cbsi6709137plb.167.2023.05.23.13.17.10; Tue, 23 May 2023 13:17:25 -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=p9UHvbQk; 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 S238526AbjEWTuX (ORCPT + 99 others); Tue, 23 May 2023 15:50:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238506AbjEWTuL (ORCPT ); Tue, 23 May 2023 15:50:11 -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 3A8C7186 for ; Tue, 23 May 2023 12:50:10 -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 BB36E629C7 for ; Tue, 23 May 2023 19:50:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10449C4339B; Tue, 23 May 2023 19:50:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684871409; bh=0kgIbzjX9fgNjWHC6MDxSyK2sgeMFDKHe414S+s4B1c=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=p9UHvbQk1P7RQdr3geFPkC6JG4ciBbDKkYgvIjLZqwG6fKWZTagvB9KcUWRATmT4O PkG1y64ukNE0H/1s89SL4xncrVlMk5ZKDGCpIk91hHmzJNeWCdDvcmu69Y6wsHaAdo jlZqOxJrzHgzWTyj6FihQ4vPPEkF+7d/RtuYe4s4lN9msGdSWXVj/kzCflKktTNJrP sHhknRlsikKxc7NDI/ISTkjNH4UI21bpdnfY0Zq7J/Ar/VO0ECYHsGrosMUvHsmO8P bU1S7Dn2xpxTxmT9PxWQc/9dZolMzNVvvRVcOXJnA5q+oFmQzdooi+zIibfGEieV/P ItCsrpnDQUWzw== From: Mark Brown To: perex@perex.cz, Yang Li Cc: tiwai@suse.com, pierre-louis.bossart@linux.intel.com, lgirdwood@gmail.com, peter.ujfalusi@linux.intel.com, yung-chuan.liao@linux.intel.com, ranjani.sridharan@linux.intel.com, daniel.baluta@nxp.com, kai.vehmanen@linux.intel.com, sound-open-firmware@alsa-project.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Abaci Robot In-Reply-To: <20230516081116.71370-1-yang.lee@linux.alibaba.com> References: <20230516081116.71370-1-yang.lee@linux.alibaba.com> Subject: Re: [PATCH -next] ASoC: SOF: ipc4-topology: Fix an unsigned comparison which can never be negative Message-Id: <168487140577.278276.4105417647413959490.b4-ty@kernel.org> Date: Tue, 23 May 2023 20:50:05 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-bfdf5 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, 16 May 2023 16:11:16 +0800, Yang Li wrote: > The return value from the call to sof_ipc4_get_valid_bits() is int. > However, the return value is being assigned to an unsigned > int variable 'out_ref_valid_bits', so making it an int. > > Eliminate the following warning: > ./sound/soc/sof/ipc4-topology.c:1537:6-24: WARNING: Unsigned expression compared with zero: out_ref_valid_bits < 0 > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: SOF: ipc4-topology: Fix an unsigned comparison which can never be negative commit: fcbc3aaccfd57c7e71eac36bf1a8f063f19ceefa 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