From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1EE5AC77B7A for ; Thu, 25 May 2023 04:56:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239910AbjEYE4n (ORCPT ); Thu, 25 May 2023 00:56:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239687AbjEYEy5 (ORCPT ); Thu, 25 May 2023 00:54:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90B891991; Wed, 24 May 2023 21:52:06 -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 784C2641A7; Thu, 25 May 2023 04:51:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6DE0CC433A1; Thu, 25 May 2023 04:51:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684990311; bh=apMkKvYFN8ljtEvzQD2/s1gcQz71bSZdKPxky0bwPP4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ix3bvv/hWQ+OyvUIDqWxCGfNVMPkBlyrzZBDPIyQMio8Xb536bAy8+2XwqHAubPXl oOy7vhVFjJGhrija84wL0xAU3S8fxPDeuohyfbCeJ56d2TK03K1twI/5WmGE/tfFcx 8dLHkChi1UvgpXu2h3QWZUBYBjL2qiVYvu/9u8YTiTfSle4hgzGVX8OEDHrMJq6VOi 2/z5CKD4ckM+f/rN6hOnE+FW7Hz6YXHRJ1HJ0LZVYUki9QkMyC80ROj9FA7d7MfHD5 Qo3GyAFNV3ApbCnN6sQFeJlo9bo7QLtmnpVg665M6EIY0m0tOxg4tAsm08Qjl3WC7K AeTU87GEnmVDQ== From: Bjorn Andersson To: Andy Gross , Konrad Dybcio , Min-Hua Chen Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH] soc: qcom: rpmpd: use correct __le32 type Date: Wed, 24 May 2023 21:54:30 -0700 Message-Id: <168499048181.3998961.5413274863907546712.b4-ty@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230522160757.284165-1-minhuadotchen@gmail.com> References: <20230522160757.284165-1-minhuadotchen@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 23 May 2023 00:07:56 +0800, Min-Hua Chen wrote: > Use cpu_to_le32 to cast constants to __le32 before comparing > them with __le32 type pd->key. This fixes the following sparse > warnings: > > drivers/soc/qcom/rpmpd.c:895:31: sparse: warning: restricted __le32 degrades to integer > drivers/soc/qcom/rpmpd.c:896:15: sparse: warning: restricted __le32 degrades to integer > > [...] Applied, thanks! [1/1] soc: qcom: rpmpd: use correct __le32 type commit: 4b819e7e89fedc90150a78152bfa6e6e3534e64b Best regards, -- Bjorn Andersson