[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b73fa427-9b55-4ca5-8edd-530ad26c7df4@kernel.org>
Date: Tue, 2 Jul 2024 14:54:04 +0300
From: Roger Quadros <rogerq@...nel.org>
To: Ma Ke <make24@...as.ac.cn>, vkoul@...nel.org, kishon@...nel.org,
sjakhade@...ence.com, sergio.paracuellos@...il.com, robh@...nel.org
Cc: linux-phy@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] phy: cadence-torrent: Check return value on register read
On 02/07/2024 06:20, Ma Ke wrote:
> cdns_torrent_dp_set_power_state() does not consider that ret might be
> overwritten. Add return value check of regmap_read_poll_timeout() after
> register read in cdns_torrent_dp_set_power_state().
>
> Fixes: 5b16a790f18d ("phy: cadence-torrent: Reorder few functions to remove function declarations")
> Signed-off-by: Ma Ke <make24@...as.ac.cn>
Reviewed-by: Roger Quadros <rogerq@...nel.org>
Powered by blists - more mailing lists