[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175061959732.285737.9614627733052759738.b4-ty@collabora.com>
Date: Sun, 22 Jun 2025 21:13:17 +0200
From: Sebastian Reichel <sebastian.reichel@...labora.com>
To: sre@...nel.org, philipp@...s.xyz, Charles Han <hanchunchao@...pur.com>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] power: supply: cpcap-charger: Fix null check for
power_supply_get_by_name
On Mon, 19 May 2025 10:47:41 +0800, Charles Han wrote:
> In the cpcap_usb_detect() function, the power_supply_get_by_name()
> function may return `NULL` instead of an error pointer.
> To prevent potential null pointer dereferences, Added a null check.
>
>
Applied, thanks!
[1/1] power: supply: cpcap-charger: Fix null check for power_supply_get_by_name
commit: d9fa3aae08f99493e67fb79413c0e95d30fca5e9
Best regards,
--
Sebastian Reichel <sebastian.reichel@...labora.com>
Powered by blists - more mailing lists