Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1186078rwl; Fri, 24 Mar 2023 07:21:23 -0700 (PDT) X-Google-Smtp-Source: AK7set+jTh9XjrfzwW5e4i9yXcfJLW9YlXDYkNK6MjvxmF4AeJT1pyph9E67jsfhJ5gilWGr7Mo8 X-Received: by 2002:a05:6a20:3b26:b0:da:1b99:34f0 with SMTP id c38-20020a056a203b2600b000da1b9934f0mr3069931pzh.39.1679667683091; Fri, 24 Mar 2023 07:21:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679667683; cv=none; d=google.com; s=arc-20160816; b=MX6msmHFf8tGIYrdVkvw6ispmnP1FJL/XRYMUBA04BMLzKGXeAaDCdNxsXo2h4LVkS lbag8L00XIfRuJv3MSZsDNMgx2B+IfzmhXiSyMMSA43ODchXz0RkYiHh1pkBwW14FVxk l2IC2pP5CHeD69hUyTd4Mon/Wa+caFiotbVPrHnT4CjWvh+a+1mqN+B0534G5As7QTGK tdDeXBZfS0CxFtBxcj39u4yn985/9HfmFZVl702/x6yRoqxcnF2LfsesJps3Axvx6jh6 oc8ZwjEbmdrhH+fVVFOiuWE5B8sH/fAnnKQJKjP6OxJx3Gj7y5AkGqhxnZnBUf18KBZk WAoQ== 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=v0wgJsOQytu2f6rV8sW3z/zzu5zXnAZ3K3FWcvh8V/M=; b=fSFXKTr+7jUYaQexLf8mYilzfqpceoI1FmVmGj3RxstjHmG3A99Yp0ro0ektG82bGm G/JfWT0Fi8DXug+bWNVgEEkTBj/B1Cl0EGHJ80FRunfi2ARt4ja4xzVwMgW/lGlY9OAe UglVFNx0m3jQns5wUOpJjoIbN6QTh1vkghTXcfj3ynaSKgxUk26RhwhQkmponi8266HV HxxWkNcyVoFFrIwgQ2IyrSC4gUb7Sp4Wzsr1YPVByObieEkUa/wxWV3JjmmkQ+9zI17g upo5qW+vDSVYpHhd/kcNwlXMlB3P/2306z0pa4HRTzBAOl6fyt9wCIkqkZPzxQt0idpG oVBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=N9JCIJ4i; 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 u145-20020a627997000000b0062a3f8af263si5387108pfc.381.2023.03.24.07.21.08; Fri, 24 Mar 2023 07:21:23 -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=N9JCIJ4i; 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 S231596AbjCXOT0 (ORCPT + 99 others); Fri, 24 Mar 2023 10:19:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229870AbjCXOTZ (ORCPT ); Fri, 24 Mar 2023 10:19:25 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5566BDEA for ; Fri, 24 Mar 2023 07:19:23 -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 ams.source.kernel.org (Postfix) with ESMTPS id 8792FB82436 for ; Fri, 24 Mar 2023 14:19:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C651DC433D2; Fri, 24 Mar 2023 14:19:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679667561; bh=dJfy8OilMODSedOI7pACYjRnM5TgCX4zPYcoJUl6/oE=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=N9JCIJ4iCqITSnbXftVrNfo9VS0OqlzqKVX8dX8tct7NgpHQTLR1JEvfoYX8Ijf3c C0ohXZAufysBv9a7DnZs68xjZaPkLMvhZEnGl6xJ59TbEqxyzWJlKVBXR3aGiprmNR l/FCv7B+Fxtu/7oix31N/mFGclmhKRi6y/HJ/U3pNzfs+h1Dev8Wx7WMLiq0JMTONT vLlfIDahD3kVKQ8nDazqWcar/I/nV1Pa+1fPl5udWQTrciPr3b/ueuSAReXekUHUGQ Tx88E3fTFl0XeTs1K0254BKTA5/QoZyDtoTebCHVvwc050kqTyISuTGooHLJnBZ4kO A3dSKTTvnzcWA== From: Mark Brown To: james.schulman@cirrus.com, Jiapeng Chong Cc: david.rhodes@cirrus.com, tanureal@opensource.cirrus.com, rf@opensource.cirrus.com, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, Abaci Robot In-Reply-To: <20230324022303.121485-1-jiapeng.chong@linux.alibaba.com> References: <20230324022303.121485-1-jiapeng.chong@linux.alibaba.com> Subject: Re: [PATCH] ASoC: cs35l56: Fix an unsigned comparison which can never be negative Message-Id: <167966755845.2601012.3004981341441229674.b4-ty@kernel.org> Date: Fri, 24 Mar 2023 14:19:18 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-2eb1a X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 Fri, 24 Mar 2023 10:23:03 +0800, Jiapeng Chong wrote: > The variable 'rv' is defined as unsigned type, so the following if > statement is invalid, we can modify the type of rv to int. > if (rv < 0) { > dev_err(cs35l56->dev, "irq: failed to get pm_runtime: > %d\n", rv); > goto err_unlock; > } > > [...] Applied to broonie/sound.git for-next Thanks! [1/1] ASoC: cs35l56: Fix an unsigned comparison which can never be negative commit: ab76c891a687ae871f7e76dbf9bc3a0e32b53423 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