[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176910122749.4059846.10330763114274646058.b4-ty@kernel.org>
Date: Thu, 22 Jan 2026 17:00:27 +0000
From: Lee Jones <lee@...nel.org>
To: Lee Jones <lee@...nel.org>, Pavel Machek <pavel@...nel.org>,
Steffen Trumtrar <s.trumtrar@...gutronix.de>
Cc: linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: (subset) [PATCH] leds: lp5860: Fix unused-but-set-variable
warning
On Mon, 19 Jan 2026 13:43:03 +0100, Steffen Trumtrar wrote:
> In lp5860_led_init the ret variable is set to the return value of
> regmap_read. The ret is never returned or used which leads to a
> -Wunused-but-set-variable warning.
>
> Propagate the return value from the regmap_read and get rid of the warning.
>
>
> [...]
Applied, thanks!
[1/1] leds: lp5860: Fix unused-but-set-variable warning
commit: 06915597fcc690896b7c3531a5686e7a312cd8c5
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists