[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1c21a19f-4412-7a55-fa61-81010e74f2d6@collabora.com>
Date: Fri, 10 Mar 2023 10:30:37 +0100
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
To: "jia-wei.chang" <jia-wei.chang@...iatek.com>,
"Rafael J . Wysocki" <rafael@...nel.org>,
Viresh Kumar <viresh.kumar@...aro.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Kevin Hilman <khilman@...libre.com>,
Rex-BC Chen <rex-bc.chen@...iatek.com>
Cc: linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
Project_Global_Chrome_Upstream_Group@...iatek.com,
hsinyi@...gle.com, Nick <vincent@...temli.org>,
Dan Carpenter <error27@...il.com>
Subject: Re: [PATCH v1 1/3] cpufreq: mediatek: fix passing zero to 'PTR_ERR'
Il 10/03/23 06:17, jia-wei.chang ha scritto:
> From: "Jia-Wei Chang" <jia-wei.chang@...iatek.com>
>
> In order to prevent passing zero to 'PTR_ERR' in
> mtk_cpu_dvfs_info_init(), we fix the return value of of_get_cci() using
> error pointer by explicitly casting error number.
>
> Signed-off-by: Jia-Wei Chang <jia-wei.chang@...iatek.com>
> Fixes: 0daa47325bae ("cpufreq: mediatek: Link CCI device to CPU")
> Reported-by: Dan Carpenter <error27@...il.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
Powered by blists - more mailing lists