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 84AA5C636D3 for ; Tue, 31 Jan 2023 15:38:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233386AbjAaPiv (ORCPT ); Tue, 31 Jan 2023 10:38:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233379AbjAaPis (ORCPT ); Tue, 31 Jan 2023 10:38:48 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26FA3222F4 for ; Tue, 31 Jan 2023 07:38:44 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id c4-20020a1c3504000000b003d9e2f72093so12758068wma.1 for ; Tue, 31 Jan 2023 07:38:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=9LHtH3bJ+q5MZMDliWaNSJG1cRpwfIRUNjGZgww+vEs=; b=ecx8uctjXOWtRMTS/y3varh5ANvb0+M/RaMhOzCFULxvmxs4/ztcA/Up8cVFOvTqhA fDBn59GXuIIlNagvxb8b6Hq3VY/nBY5yzkokO6iAoOT4qE1d0LMvpiEnmEfv0D+zX5sW +uIXD69G0fZ+YegCxt+ZnbO4Ie4+haUYSloYSwVNKPIif+JzO4qkBqc45B9FA1AW2PIC OnjbZYSFjX16UEcNJlAWuQWJ1zzorRbRVzBfTbz+YuVaKdkeU5ZlbFvEGSQfzgvDldTW /7QlhG3TgF3Y1y3BBoxaZIl6AlCReoGTx8qo1ycojFhI47T1W0puSu1pNVAIZ/Vl/GRx szYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9LHtH3bJ+q5MZMDliWaNSJG1cRpwfIRUNjGZgww+vEs=; b=LOzFQBRyS/2RUc/mgezi4erNVgc4HZ7K90PUhkpEMaP0Nreo1uZbvFvKvqiX3xOS72 qYgxLoa/u6yinJZwuLtljzbZ/Wf3N47jugM6IUxUy7pZcd3c8FmXPfcu3emQ3MDrwnjx 1hhyKKPzGUJ5cEElQOBLTQrgu/qN5TvNysUAzZKuxeiGgAc5+IYGUa1n4M6e0BD2CS0K Hi27BvXKSayYSwILvuRHRKMtfeD44bHrcFShnK1lS8SyvxfZJfjQ4fzluGSa4WDCiV0C exKo4b0kX5qExhSREzcC/TESUsfb0pCDkOiNQDU9egYaua9tMJ6Qjfu/hqrWisxYXP3V m8sA== X-Gm-Message-State: AO0yUKVUut4stTku556wxFMYNdFdoZYqATXh+UDCfKCpRmwQLtpBM1E/ LKo9wTeEsiPPkbCYG6xY3tX6uQ== X-Google-Smtp-Source: AK7set+qXEO5f6dM/+ByOJF3uNln+DhK4z5qtfoz1VcbfCM/HgCJKWfILh4TRd9lo8Bwr4d98fApGw== X-Received: by 2002:a1c:4c12:0:b0:3dd:1c45:a90e with SMTP id z18-20020a1c4c12000000b003dd1c45a90emr3725660wmf.25.1675179522630; Tue, 31 Jan 2023 07:38:42 -0800 (PST) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id x2-20020a05600c2d0200b003dd86c24005sm1686377wmf.42.2023.01.31.07.38.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 Jan 2023 07:38:42 -0800 (PST) Message-ID: <20034fe0-3fa8-9ece-b0e8-96143cd2deea@linaro.org> Date: Tue, 31 Jan 2023 16:38:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v2 3/4] thermal: intel: int340x: Drop pointless cast to unsigned long Content-Language: en-US To: "Rafael J. Wysocki" , Linux PM Cc: Linux ACPI , LKML , Srinivas Pandruvada , Zhang Rui References: <2133431.irdbgypaU6@kreacher> <1921559.PYKUYFuaPT@kreacher> From: Daniel Lezcano In-Reply-To: <1921559.PYKUYFuaPT@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30/01/2023 19:45, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The explicit casting from int to unsigned long in > int340x_thermal_get_zone_temp() is pointless, becuase the multiplication > result is cast back to int by the assignment in the same statement, so > drop it. > > No expected functional impact. > > Signed-off-by: Rafael J. Wysocki > --- Acked-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog