Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1935119pxp; Mon, 7 Mar 2022 05:29:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwo9FIhby0C4ZVyEoOcgrSlJnib0oFACUpvp2W88wi1H87UcOhXU/YSycFJiW0OnQzDZtL X-Received: by 2002:aa7:d5d9:0:b0:416:1dd3:7714 with SMTP id d25-20020aa7d5d9000000b004161dd37714mr10777127eds.256.1646659765974; Mon, 07 Mar 2022 05:29:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646659765; cv=none; d=google.com; s=arc-20160816; b=QLYs/2nO30KRjB/YUImPpcjnhscNb2mtFKEnQ7jXI1rD6X9KPxuaFfD3fVuLjX/q1e k7Opcj4L1DlTlcUXsGWGQaVeBZ79CNiOfLBmpWh9AhoHK6A1v6U57QEF1GHrWO45MY4s 00+vl/2f3GMCKYxrBWAdN/PA8+MRW9iiExUwtN/95w4omnBrG6yrFb6wc46x2HG1D1/4 6FGEsbnF+sUN3cikjX6e+zQEyGycMHQs2M9POA0V6Gt/ordf6wLkLvCwwD9cZFax+oNR b9FfDABPlPMBzONEN3XwSRGhbYk8uBevQTQzDetGIuzTvkIH0DZYHb6EYlep4oDXzENx z3JQ== 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; bh=jK5tthGPa6NNlk/rKdqUQuBhZW7CjqSVqu7tpEhh/7s=; b=Y/RJSlDvVvdoVX2im0dzaxappmBZJ1Z+y45IaCAsA8++TApmRhgVdU+lf2IU4mj99x PmvmV6k7oS731vUhHCJbPofxUj8kXKkQ2yNs9rMqpd/8VWYklwW1T2RDORvHTttah0Oh wdgRLaEjS5S7PmkdT/4tOzz7L4BNjzI3JsgNiv3ou/W96104iJU2o/5BnCbOI4SFZlIx CXwDHYRD7SHisu6IzyEtOCYh09cLlH9e8jYm/HUts7kgyQu50yDXg/zE8r6SPY5qtP/U yKbhujVznkWWNX5daA3lxFZ7AFAB9klhIjburvnQWrZQ5+KEwQJsdQ6P5m+hpAmf1d7+ UjTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dKzcECX9; 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 w9-20020a1709062f8900b006cf721d6485si7773810eji.19.2022.03.07.05.29.00; Mon, 07 Mar 2022 05:29:25 -0800 (PST) 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=dKzcECX9; 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 S240597AbiCGNPe (ORCPT + 99 others); Mon, 7 Mar 2022 08:15:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236834AbiCGNPd (ORCPT ); Mon, 7 Mar 2022 08:15:33 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 406288B6F1 for ; Mon, 7 Mar 2022 05:14:39 -0800 (PST) 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 F056AB8101B for ; Mon, 7 Mar 2022 13:14:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2EF0C340E9; Mon, 7 Mar 2022 13:14:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646658876; bh=jK5tthGPa6NNlk/rKdqUQuBhZW7CjqSVqu7tpEhh/7s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dKzcECX9lMHtNjgh/SJ7YqhiXSzyOghF1D8Ddn28YStxnA5oZgphXDATXx1Z5x22I YpFb4cNHhjLlQ9OxOmrxza+hTnJynAuo5KMNXoLnPLsJeV1GE10mB1/TM/dDtZKzqX LNsf1vnJmga02E/9T1F73sCA3ybZrJPopvzH+qprr0SUg9Hxk/EPHoX1LNwBTv+LjT B9ZfRhDUyycrr8Rm4hxyWyxjoBojZX+YshrjSEOqo3CWArdjMlplkRryBGT4rRU/zI dbkIloO7e/RO/YPAH7Klxrgs5PX9kEMwDDS6VJ1HlVbfYYYLGJc4ZYjbWi6ft+i6Hd dhn4tiaFM70Dw== Date: Mon, 7 Mar 2022 13:14:31 +0000 From: Mark Brown To: Yang Li Cc: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, tangmeng@uniontech.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Abaci Robot Subject: Re: [PATCH v2] ASoC: amd: Fix an ignored error return from platform_get_irq_byname() Message-ID: References: <20220304004543.11797-1-yang.lee@linux.alibaba.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vKS5jss5k13JvKxY" Content-Disposition: inline In-Reply-To: <20220304004543.11797-1-yang.lee@linux.alibaba.com> X-Cookie: Store in a cool place. X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 --vKS5jss5k13JvKxY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Mar 04, 2022 at 08:45:43AM +0800, Yang Li wrote: > The return from the call to platform_get_irq_byname() is int, it can be > a negative error code, however this is being assigned to an unsigned > int variable 'adata->i2s_irq', so assign the value to 'ret' concurrently > to solve this problem without affecting other functions. This doesn't apply against current code, please check and resend. --vKS5jss5k13JvKxY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmImBTYACgkQJNaLcl1U h9Ayawf/UAHZ/XEOH8Ig5XxzKsT6C8R6T0FSBLGJg3y7QBXcXluvNaQQs8kogFjZ N4MyL9viPZ9zoWVptKZB3wgcJpFfzviuXKemILq0HqY2Vd0LL/79YxvLek/CJFS3 drf/lRSIafH0ZUBIkyhg+y6vf2YWDEJvIh2u/4DLhYGcMaPtq002I1iXg4ok9FMU WlLWlT4k5y9n/Qhddm2Sq5d4zVCD9SgPf4Rmvi2wJH7xJOHrG6jwZ/dF61ok5SUQ aqrcd1vDhpHLTAtPRSEIL0Zt0Q5WDdGgW2bBOyJANMeqwz7w93t8BJKrrRSNSpbL 3B1auFFO2XquDL01ePZWTm8Xtk351Q== =dJZZ -----END PGP SIGNATURE----- --vKS5jss5k13JvKxY--